forked from MirrorHub/synapse
Remove size specifier for database column
Postgres doesn't support them like this. We don't have a bool type in common between postgres and sqlite.
This commit is contained in:
parent
924d85a75e
commit
7dfa455508
1 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@
|
|||
*
|
||||
* If all users on this server have left a room, we can delete the room
|
||||
* entirely.
|
||||
*
|
||||
* This column should always contain either 0 or 1.
|
||||
*/
|
||||
|
||||
ALTER TABLE room_memberships ADD COLUMN forgotten INTEGER(1) DEFAULT 0;
|
||||
ALTER TABLE room_memberships ADD COLUMN forgotten INTEGER DEFAULT 0;
|
||||
|
|
Loading…
Reference in a new issue