about summary refs log tree commit diff
path: root/server/src/schema.rs
diff options
context:
space:
mode:
authorMelonai <einebeere@gmail.com>2021-01-11 11:38:26 +0100
committerMelonai <einebeere@gmail.com>2021-01-11 11:38:26 +0100
commitfa1189658a911db852ba974a7382509fb4ffbb7c (patch)
tree5637553e1909f863ef6cf78c86116abb218d0fa5 /server/src/schema.rs
parent5539abe770da491087afcd7dd1ccba1bf8f60631 (diff)
downloadshorest-fa1189658a911db852ba974a7382509fb4ffbb7c.tar.zst
shorest-fa1189658a911db852ba974a7382509fb4ffbb7c.zip
Fully split client and server
Diffstat (limited to 'server/src/schema.rs')
-rw-r--r--server/src/schema.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/schema.rs b/server/src/schema.rs
new file mode 100644
index 0000000..5d823c0
--- /dev/null
+++ b/server/src/schema.rs
@@ -0,0 +1,6 @@
+table! {
+    links (hash) {
+        hash -> Text,
+        url -> Text,
+    }
+}
\ No newline at end of file