about summary refs log tree commit diff
path: root/server/src/schema.rs
diff options
context:
space:
mode:
authorMelonai <einebeere@gmail.com>2021-01-13 22:37:31 +0100
committerMelonai <einebeere@gmail.com>2021-01-13 22:37:31 +0100
commit5b6ed8cfb245f7f9991f5fc192b8c9215f0ecdc1 (patch)
treec4b9ef58c708900d2a88fa5e8790629d415e2b75 /server/src/schema.rs
parent6e8a1117ddef390453d6b695c301d7f4d219f947 (diff)
downloadshorest-5b6ed8cfb245f7f9991f5fc192b8c9215f0ecdc1.tar.zst
shorest-5b6ed8cfb245f7f9991f5fc192b8c9215f0ecdc1.zip
Created diesel migrations
Diffstat (limited to 'server/src/schema.rs')
-rw-r--r--server/src/schema.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/schema.rs b/server/src/schema.rs
index 5d823c0..3fa7ce9 100644
--- a/server/src/schema.rs
+++ b/server/src/schema.rs
@@ -1,6 +1,6 @@
 table! {
     links (hash) {
-        hash -> Text,
-        url -> Text,
+        hash -> Bpchar,
+        url -> Varchar,
     }
-}
\ No newline at end of file
+}