A deploy/sim_nicks.sql => deploy/sim_nicks.sql +11 -0
@@ 0,0 1,11 @@
+-- Deploy jmp:sim_nicks to pg
+-- requires: sims
+
+BEGIN;
+
+-- Adds new column for setting the SIM nickname
+
+ALTER TABLE sims
+ADD COLUMN nickname TEXT;
+
+COMMIT;
A revert/sim_nicks.sql => revert/sim_nicks.sql +7 -0
@@ 0,0 1,7 @@
+-- Revert jmp:sim_nicks from pg
+
+BEGIN;
+
+ALTER TABLE sims DROP COLUMN nickname;
+
+COMMIT;
M sqitch.plan => sqitch.plan +1 -0
@@ 49,3 49,4 @@ sims 2022-10-19T15:23:24Z Stephen Paul Weber,,, <singpolyma@singpolyma-beefy> #
@2022292 2022-10-19T15:39:55Z Stephen Paul Weber,,, <singpolyma@singpolyma-beefy> # Tag sims table
area_codes 2023-02-06T15:30:19Z Stephen Paul Weber,,, <singpolyma@singpolyma-beefy> # Create table for geography lookup of area codes
+sim_nicks 2023-02-01T19:02:47Z Nico <nico@pop-os> # Add column for SIM nickname.
A verify/sim_nicks.sql => verify/sim_nicks.sql +7 -0
@@ 0,0 1,7 @@
+-- Verify jmp:sim_nicks on pg
+
+BEGIN;
+
+SELECT nickname FROM sims;
+
+ROLLBACK;