From 5b6ed8cfb245f7f9991f5fc192b8c9215f0ecdc1 Mon Sep 17 00:00:00 2001
From: Melonai <einebeere@gmail.com>
Date: Wed, 13 Jan 2021 22:37:31 +0100
Subject: Created diesel migrations

---
 server/migrations/2021-01-12-171443_create_links/up.sql | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 server/migrations/2021-01-12-171443_create_links/up.sql

(limited to 'server/migrations/2021-01-12-171443_create_links/up.sql')

diff --git a/server/migrations/2021-01-12-171443_create_links/up.sql b/server/migrations/2021-01-12-171443_create_links/up.sql
new file mode 100644
index 0000000..17e3f92
--- /dev/null
+++ b/server/migrations/2021-01-12-171443_create_links/up.sql
@@ -0,0 +1,4 @@
+CREATE TABLE links (
+    hash CHAR(3) PRIMARY KEY,
+    url VARCHAR(2048) NOT NULL
+);
-- 
cgit 1.4.1

