mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
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
@ -19,6 +19,8 @@
|
|||||||
*
|
*
|
||||||
* If all users on this server have left a room, we can delete the room
|
* If all users on this server have left a room, we can delete the room
|
||||||
* entirely.
|
* 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 New Issue
Block a user