Fix: calendar_token Migration ohne UNIQUE (SQLite erlaubt kein ALTER TABLE ADD UNIQUE)
This commit is contained in:
parent
a4f74b6c64
commit
44fcb9bc16
1 changed files with 1 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ def _migrate(conn_factory):
|
||||||
("users", "is_banned", "INTEGER NOT NULL DEFAULT 0"),
|
("users", "is_banned", "INTEGER NOT NULL DEFAULT 0"),
|
||||||
("users", "ban_reason", "TEXT"),
|
("users", "ban_reason", "TEXT"),
|
||||||
# WebCal: Kalender-Abo-Token
|
# WebCal: Kalender-Abo-Token
|
||||||
("users", "calendar_token", "TEXT UNIQUE"),
|
("users", "calendar_token", "TEXT"),
|
||||||
]
|
]
|
||||||
with conn_factory() as conn:
|
with conn_factory() as conn:
|
||||||
for table, column, col_type in migrations:
|
for table, column, col_type in migrations:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue