mirror of
https://github.com/eliasrenman/url-shortener.git
synced 2026-03-16 20:16:06 +01:00
feat: github & google login
This commit is contained in:
7
migrations/2025-03-17-125909_magic_email_link/up.sql
Normal file
7
migrations/2025-03-17-125909_magic_email_link/up.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- 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,
|
||||
);
|
||||
Reference in New Issue
Block a user