aboutsummaryrefslogtreecommitdiffstats
path: root/migration.sql
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2017-06-03 18:00:51 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2017-06-03 18:00:51 -0400
commitf154ae1ec88146017abf3de9d14d119facb5fc4c (patch)
treecd857864dd52b088ccc8943b64fe9bbd59c04dc8 /migration.sql
parent3f3cb7c7cede379914eed51c57e58f66ffdd1856 (diff)
downloadlastfm-api-f154ae1ec88146017abf3de9d14d119facb5fc4c.tar.gz
Basic web app
Diffstat (limited to 'migration.sql')
-rw-r--r--migration.sql17
1 files changed, 0 insertions, 17 deletions
diff --git a/migration.sql b/migration.sql
deleted file mode 100644
index cd95209..0000000
--- a/migration.sql
+++ /dev/null
@@ -1,17 +0,0 @@
-BEGIN;
-
- CREATE TABLE new_sessions (
- user string,
- key string PRIMARY KEY,
- client string,
- protocol string,
- created int
- );
-
- INSERT INTO new_sessions SELECT * FROM sessions;
-
- DROP TABLE sessions;
-
- ALTER TABLE new_sessions RENAME TO sessions;
-
-END;