feat: initial cfdav project with webdav+r2+d1 and pages admin docs
This commit is contained in:
9
migrations/0002_users.sql
Normal file
9
migrations/0002_users.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- users table for multi-user auth
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
id TEXT PRIMARY KEY,
|
||||
email TEXT NOT NULL UNIQUE,
|
||||
password_hash TEXT NOT NULL,
|
||||
created_at TEXT NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_users_email ON users(email);
|
||||
Reference in New Issue
Block a user