diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2021-12-24 08:48:19 -0800 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2021-12-24 08:48:19 -0800 |
commit | 462e9cca1d021652972067de39ff0118ce5faa2b (patch) | |
tree | a2ad7c53f3eea7a05a774ea12c08440c776b7e45 /migrations | |
parent | b13c9d23c792ec8c1764444a96986f0800d7084a (diff) |
Christmas eve checkpoint
Well, it's not pretty, but it's Christmas eve and it's time to ship.
Diffstat (limited to 'migrations')
-rw-r--r-- | migrations/2021-12-19-033646_add-battery-status/down.sql | 1 | ||||
-rw-r--r-- | migrations/2021-12-19-033646_add-battery-status/up.sql | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/migrations/2021-12-19-033646_add-battery-status/down.sql b/migrations/2021-12-19-033646_add-battery-status/down.sql new file mode 100644 index 0000000..fdfa9c0 --- /dev/null +++ b/migrations/2021-12-19-033646_add-battery-status/down.sql @@ -0,0 +1 @@ +ALTER TABLE data DROP COLUMN batter_status; diff --git a/migrations/2021-12-19-033646_add-battery-status/up.sql b/migrations/2021-12-19-033646_add-battery-status/up.sql new file mode 100644 index 0000000..968bc66 --- /dev/null +++ b/migrations/2021-12-19-033646_add-battery-status/up.sql @@ -0,0 +1 @@ +ALTER TABLE data ADD COLUMN battery_status NUMERIC NOT NULL DEFAULT 1; |