Upgrade to v1.103 schema
authorDan White <dan@whiteaudio.com>
Wed, 3 May 2023 03:12:14 +0000 (22:12 -0500)
committerDan White <dan@whiteaudio.com>
Wed, 3 May 2023 03:12:14 +0000 (22:12 -0500)
upgrade-db-schema_2023-05-02.sql [new file with mode: 0644]

diff --git a/upgrade-db-schema_2023-05-02.sql b/upgrade-db-schema_2023-05-02.sql
new file mode 100644 (file)
index 0000000..36a19fc
--- /dev/null
@@ -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;
+