diff options
author | Daniel Wagner-Hall <dawagner@gmail.com> | 2015-11-23 18:35:25 +0000 |
---|---|---|
committer | Daniel Wagner-Hall <dawagner@gmail.com> | 2015-11-23 18:35:25 +0000 |
commit | 7dfa4555087049ed7e379d25880b5ffa660df8cb (patch) | |
tree | 624a8da7fdacc30b82dddf721ec7dcb6a00a024d /synapse/storage | |
parent | Merge pull request #375 from matrix-org/daniel/guestroominitialsync (diff) | |
download | synapse-7dfa4555087049ed7e379d25880b5ffa660df8cb.tar.xz |
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.
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/schema/delta/26/forgotten_memberships.sql | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/26/forgotten_memberships.sql b/synapse/storage/schema/delta/26/forgotten_memberships.sql index df55b9c6f6..beeb8a288b 100644 --- a/synapse/storage/schema/delta/26/forgotten_memberships.sql +++ b/synapse/storage/schema/delta/26/forgotten_memberships.sql @@ -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; |