mirror of
https://github.com/eliasrenman/url-shortener.git
synced 2026-03-16 20:16:06 +01:00
added inital sqlite db
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
-- This file should undo anything in `up.sql`
|
|
||||||
DROP TABLE magic_links;
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
-- Your SQL goes here
|
|
||||||
CREATE TABLE magiclinks (
|
|
||||||
url TEXT PRIMARY KEY NOT NULL,
|
|
||||||
ttl DATETIME NOT NULL,
|
|
||||||
owned_by TEXT NOT NULL CHECK (owned_by = owned_by),
|
|
||||||
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
||||||
);
|
|
||||||
BIN
sqlite.db.inital
Normal file
BIN
sqlite.db.inital
Normal file
Binary file not shown.
Reference in New Issue
Block a user