diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-05-16 07:19:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 07:19:18 +0100 |
commit | 8030a825c8ea375652a856929d29d7ae28096cc1 (patch) | |
tree | fd1a3c6d59b793fb5ceca6d08187e12753bcaac1 /synapse/storage/schema/delta/48 | |
parent | Merge pull request #3201 from matrix-org/dbkr/leave_rooms_on_deactivate (diff) | |
parent | ConsentResource to gather policy consent from users (diff) | |
download | synapse-8030a825c8ea375652a856929d29d7ae28096cc1.tar.xz |
Merge pull request #3213 from matrix-org/rav/consent_handler
ConsentResource to gather policy consent from users
Diffstat (limited to 'synapse/storage/schema/delta/48')
-rw-r--r-- | synapse/storage/schema/delta/48/add_user_consent.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/48/add_user_consent.sql b/synapse/storage/schema/delta/48/add_user_consent.sql new file mode 100644 index 0000000000..5237491506 --- /dev/null +++ b/synapse/storage/schema/delta/48/add_user_consent.sql @@ -0,0 +1,18 @@ +/* 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. + */ + +/* record the version of the privacy policy the user has consented to + */ +ALTER TABLE users ADD COLUMN consent_version TEXT; |