summary refs log tree commit diff
path: root/synapse/storage/schema/room_aliases.sql
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/schema/room_aliases.sql')
-rw-r--r--synapse/storage/schema/room_aliases.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/synapse/storage/schema/room_aliases.sql b/synapse/storage/schema/room_aliases.sql
new file mode 100644
index 0000000000..71a8b90e4d
--- /dev/null
+++ b/synapse/storage/schema/room_aliases.sql
@@ -0,0 +1,12 @@
+CREATE TABLE IF NOT EXISTS room_aliases(
+    room_alias TEXT NOT NULL,
+    room_id TEXT NOT NULL
+);
+
+CREATE TABLE IF NOT EXISTS room_alias_servers(
+    room_alias TEXT NOT NULL,
+    server TEXT NOT NULL
+);
+
+
+