summary refs log tree commit diff
path: root/synapse/storage/schema/delta/46
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-10-31 20:35:58 +0000
committerRichard van der Hoff <richard@matrix.org>2017-10-31 20:35:58 +0000
commit356bcafc4452d1cf5deea61c5084fc25a54a5ead (patch)
tree0b3e96f3c44880202fea4059f0fb891adc897104 /synapse/storage/schema/delta/46
parentMerge pull request #2610 from matrix-org/rav/schema_for_pw_providers (diff)
downloadsynapse-356bcafc4452d1cf5deea61c5084fc25a54a5ead.tar.xz
Remove the last vestiges of refresh_tokens
Diffstat (limited to 'synapse/storage/schema/delta/46')
-rw-r--r--synapse/storage/schema/delta/46/drop_refresh_tokens.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/46/drop_refresh_tokens.sql b/synapse/storage/schema/delta/46/drop_refresh_tokens.sql
new file mode 100644
index 0000000000..68c48a89a9
--- /dev/null
+++ b/synapse/storage/schema/delta/46/drop_refresh_tokens.sql
@@ -0,0 +1,17 @@
+/* Copyright 2017 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.
+ */
+
+/* we no longer use (or create) the refresh_tokens table */
+DROP TABLE IF EXISTS refresh_tokens;