mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-20 02:24:54 +03:00
Change column def so it works on pgsql & sqlite
Now I remember discovering previously there was no way to make boolean columns work
This commit is contained in:
parent
45d06c754a
commit
022469d819
1 changed files with 1 additions and 1 deletions
|
@ -20,4 +20,4 @@
|
|||
* so we can't easily join between the two tables. Plus, the batch number
|
||||
* realy ought to represent data in this table that has changed.
|
||||
*/
|
||||
ALTER TABLE profiles ADD COLUMN active BOOLEAN DEFAULT 1 NOT NULL;
|
||||
ALTER TABLE profiles ADD COLUMN active SMALLINT DEFAULT 1 NOT NULL;
|
||||
|
|
Loading…
Reference in a new issue