diff options
author | David Baker <dave@matrix.org> | 2018-03-28 14:07:57 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-03-28 14:07:57 +0100 |
commit | 352e1ff9ed945fd7f2655bf47d591184fc980afb (patch) | |
tree | 5909ef9a652c4b110bab4872cfd2e1a0797059d6 /synapse/storage/schema | |
parent | Add joinability for groups (diff) | |
download | synapse-352e1ff9ed945fd7f2655bf47d591184fc980afb.tar.xz |
Add schema delta file
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/48/groups_joinable.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/48/groups_joinable.sql b/synapse/storage/schema/delta/48/groups_joinable.sql new file mode 100644 index 0000000000..fb9c7a8d1c --- /dev/null +++ b/synapse/storage/schema/delta/48/groups_joinable.sql @@ -0,0 +1,16 @@ +/* Copyright 2018 New Vector Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +ALTER TABLE groups ADD COLUMN is_joinable BOOLEAN NOT NULL DEFAULT 0; |