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.pull/397/head
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