0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-18 12:13:58 +01:00

Fix schema delta 15 on postgres in the very unlikley event that anyone upgrades to 15...

This commit is contained in:
David Baker 2015-12-02 17:19:11 +00:00
parent 748c0f5efa
commit 8810eb8c39

View file

@ -1,7 +1,7 @@
-- Drop, copy & recreate pushers table to change unique key -- Drop, copy & recreate pushers table to change unique key
-- Also add access_token column at the same time -- Also add access_token column at the same time
CREATE TABLE IF NOT EXISTS pushers2 ( CREATE TABLE IF NOT EXISTS pushers2 (
id INTEGER PRIMARY KEY AUTOINCREMENT, id BIGINT PRIMARY KEY,
user_name TEXT NOT NULL, user_name TEXT NOT NULL,
access_token INTEGER DEFAULT NULL, access_token INTEGER DEFAULT NULL,
profile_tag varchar(32) NOT NULL, profile_tag varchar(32) NOT NULL,