summary refs log tree commit diff
path: root/synapse/storage/schema/delta
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-06-23 12:00:45 +0100
committerGitHub <noreply@github.com>2017-06-23 12:00:45 +0100
commit4fec80ba6fb89ad4f2e527dbaea6c0c2ec9aa4b6 (patch)
treea2bd30b908118a6e9dff04259e7e2b54d6d6b44a /synapse/storage/schema/delta
parentMerge pull request #2297 from matrix-org/erikj/user_dir_fix (diff)
parentStore URL cache preview downloads seperately (diff)
downloadsynapse-4fec80ba6fb89ad4f2e527dbaea6c0c2ec9aa4b6.tar.xz
Merge pull request #2299 from matrix-org/erikj/segregate_url_cache_downloads
Store URL cache preview downloads separately
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r--synapse/storage/schema/delta/43/url_cache.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/43/url_cache.sql b/synapse/storage/schema/delta/43/url_cache.sql
new file mode 100644
index 0000000000..45ebe020da
--- /dev/null
+++ b/synapse/storage/schema/delta/43/url_cache.sql
@@ -0,0 +1,16 @@
+/* Copyright 2017 Vector Creations 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 local_media_repository ADD COLUMN url_cache TEXT;