Elwig: Rename buchführend, funktionär, volllieferant, and gebunden
Test / Run tests (push) Successful in 3m0s
Test / Run tests (push) Successful in 3m0s
This commit is contained in:
1 parent
895969b6ae
commit
611313dbd2
40 files changed
+395
-355
No files matched your search
@@ -9,6 +9,30 @@ ALTER TABLE member_history RENAME COLUMN signed TO signed_member;
|
||||
ALTER TABLE member_history ADD COLUMN signed_company INTEGER NOT NULL CHECK (signed_company IN (TRUE, FALSE)) DEFAULT FALSE;
|
||||
|
||||
|
||||
PRAGMA writable_schema = ON;
|
||||
|
||||
UPDATE sqlite_schema SET sql = REPLACE(REPLACE(REPLACE(sql, 'funktionär', 'officer '), 'buchführend', 'accounting '), 'volllieferant', 'full_delivery')
|
||||
WHERE type = 'table' AND name = 'member';
|
||||
|
||||
UPDATE sqlite_schema SET sql = REPLACE(sql, 'gebunden ', 'contracted')
|
||||
WHERE type = 'table' AND name = 'delivery_part';
|
||||
|
||||
UPDATE sqlite_schema SET sql = REPLACE(sql, 'gebunden', 'contracted')
|
||||
WHERE type = 'view' AND name = 'v_delivery';
|
||||
|
||||
UPDATE sqlite_schema SET sql = REPLACE(sql, 'volllieferant', 'full_delivery')
|
||||
WHERE type = 'view' AND name = 'v_bki_member';
|
||||
|
||||
UPDATE sqlite_schema SET sql = REPLACE(sql, ' geb', ' contracted')
|
||||
WHERE type = 'view' AND name = 'v_stat_total';
|
||||
|
||||
UPDATE sqlite_schema SET sql = REPLACE(sql, 'gebunden', 'contracted')
|
||||
WHERE type = 'view' AND (name = 'v_payment_bucket_strict' OR name = 'v_payment_bucket' OR name = 'v_under_delivery_bucket');
|
||||
|
||||
PRAGMA schema_version = 4101;
|
||||
PRAGMA writable_schema = OFF;
|
||||
|
||||
|
||||
UPDATE client_parameter SET value = '0' WHERE param = 'ENABLE_TIME_TRIGGERS';
|
||||
|
||||
UPDATE member SET org_auth_code = UPPER(SUBSTR(a.name, -11, 10))
|
||||
|
||||
Reference in new issue
Block a user