aboutsummaryrefslogtreecommitdiff
path: root/sql/migrations/3.sql
diff options
context:
space:
mode:
authorJoris2021-01-03 13:40:40 +0100
committerJoris2021-01-03 13:54:20 +0100
commit11052951b74b9ad4b6a9412ae490086235f9154b (patch)
tree64526ac926c1bf470ea113f6cac8a33158684e8d /sql/migrations/3.sql
parent371449b0e312a03162b78797b83dee9d81706669 (diff)
downloadbudget-11052951b74b9ad4b6a9412ae490086235f9154b.tar.gz
budget-11052951b74b9ad4b6a9412ae490086235f9154b.tar.bz2
budget-11052951b74b9ad4b6a9412ae490086235f9154b.zip
Rewrite in Rust
Diffstat (limited to 'sql/migrations/3.sql')
-rw-r--r--sql/migrations/3.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/migrations/3.sql b/sql/migrations/3.sql
new file mode 100644
index 0000000..a3d8a13
--- /dev/null
+++ b/sql/migrations/3.sql
@@ -0,0 +1,5 @@
+DROP TABLE sign_in;
+
+ALTER TABLE user ADD COLUMN "password" TEXT NOT NULL DEFAULT "password";
+
+ALTER TABLE user ADD COLUMN "sign_in_token" TEXT NULL;