Skip to content
Snippets Groups Projects
Commit 7dfa4555 authored by Daniel Wagner-Hall's avatar Daniel Wagner-Hall
Browse files

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.
parent 924d85a7
Branches
Tags
No related merge requests found
......@@ -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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment