From: Dan White Date: Wed, 3 May 2023 03:12:14 +0000 (-0500) Subject: Upgrade to v1.103 schema X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=b9817d9f2cef0af02936b7ff728c9de64805b79a;p=scheduling-bazaar-data.git Upgrade to v1.103 schema --- diff --git a/upgrade-db-schema_2023-05-02.sql b/upgrade-db-schema_2023-05-02.sql new file mode 100644 index 0000000..36a19fc --- /dev/null +++ b/upgrade-db-schema_2023-05-02.sql @@ -0,0 +1,13 @@ +-- 2023-05-02 notes +-- (adding transmitter_unconfirmd INTEGER column) +-- Rename table observations to observations_v1_103. +-- Create new observations table with same columns as get-observations.py. +-- Vacuum to cleanup. +-- Runs of get-observations.py will fill in the NULL column. + +.echo on + +ALTER TABLE observations ADD COLUMN transmitter_unconfirmed INTEGER; + +VACUUM; +