mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 06:03:45 +01:00
Awful hack to get default true
This commit is contained in:
parent
e86cefcb6f
commit
713e60b9b6
1 changed files with 2 additions and 1 deletions
|
@ -14,4 +14,5 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
-- whether non-members can access group APIs
|
-- whether non-members can access group APIs
|
||||||
ALTER TABLE groups ADD COLUMN is_public BOOL DEFAULT 1 NOT NULL;
|
-- NB: awful hack to get the default to be true on postgres and 1 on sqlite
|
||||||
|
ALTER TABLE groups ADD COLUMN is_public BOOL DEFAULT (1=1) NOT NULL;
|
||||||
|
|
Loading…
Reference in a new issue