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:
Daniel Wagner-Hall 2015-11-23 18:35:25 +00:00
parent 924d85a75e
commit 7dfa455508

View File

@ -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;