added inital sqlite db

This commit is contained in:
Elias Renman
2025-03-25 16:28:04 +01:00
parent eaa15f2b59
commit a2ae08a8e1
4 changed files with 0 additions and 9 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -1,2 +0,0 @@
-- This file should undo anything in `up.sql`
DROP TABLE magic_links;

View File

@@ -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

Binary file not shown.