Drop table tokens before running migration #6

This commit is contained in:
Lucas BEE 2018-03-14 14:07:45 +01:00
parent 1593af9fde
commit e1e95388d3

View File

@ -1,3 +1,4 @@
DROP TABLE tokens;
CREATE TABLE tokens ( CREATE TABLE tokens (
token text PRIMARY KEY NOT NULL UNIQUE, token text PRIMARY KEY NOT NULL UNIQUE,
username text NOT NULL REFERENCES users(name), username text NOT NULL REFERENCES users(name),