Skip to content

Commit 199f445

Browse files
committed
Add SQLDelight migrations
1 parent 204e06b commit 199f445

File tree

16 files changed

+81
-1
lines changed

16 files changed

+81
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Empty migration to set database version to 101
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Empty migration to set database version to 102
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Empty migration to set database version to 103
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-- Empty migration to set database version to 104
Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1-
-- Empty migration to set database version to 105
1+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_vaccinated;
2+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_vaccinated_min;
3+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_vaccinated_max;
4+
ALTER TABLE Settings DROP COLUMN covid_certificates_record_proof_vaccinated;
5+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_cured;
6+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_cured_min;
7+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_cured_max;
8+
ALTER TABLE Settings DROP COLUMN covid_certificates_record_proof_cured;
9+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_tested_pcr;
10+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_tested_pcr_min;
11+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_tested_pcr_max;
12+
ALTER TABLE Settings DROP COLUMN covid_certificates_record_proof_tested_pcr;
13+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_tested_antigen_unknown;
14+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_tested_antigen_unknown_min;
15+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_tested_antigen_unknown_max;
16+
ALTER TABLE Settings DROP COLUMN covid_certificates_record_proof_tested_antigen_unknown;
17+
ALTER TABLE Settings DROP COLUMN covid_certificates_accept_eudgc;
18+
ALTER TABLE Settings DROP COLUMN covid_certificates_accept_manual;
19+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_other;
20+
ALTER TABLE Settings DROP COLUMN covid_certificates_record_proof_other;
21+
ALTER TABLE Settings DROP COLUMN covid_certificates_record_validity_time;
22+
ALTER TABLE Settings DROP COLUMN covid_certificates_combination_rules;
23+
ALTER TABLE Settings DROP COLUMN covid_certificates_record_proof;
24+
ALTER TABLE Settings DROP COLUMN covid_certificates_allow_vaccinated_products;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE ReceiptLine ADD requested_valid_from TEXT NULL;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE ReceiptLine ADD use_reusable_medium NUMERIC NULL;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE QueuedCheckIn ADD source_type TEXT NULL;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE ReceiptLine ADD gift_card_id NUMERIC NULL;
2+
ALTER TABLE ReceiptLine ADD gift_card_secret TEXT NULL;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE INDEX order_event_slug ON orders (event_slug);

0 commit comments

Comments
 (0)