diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-14 19:34:59 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-14 19:34:59 +0300 |
| commit | 50ce8cb96b2b218751c2fc2a6b19372f51846acc (patch) | |
| tree | e2c634d2ce856062d527667d47815a05a53361c8 /migrations/20240101000000_create_users.sql | |
| parent | 0ab2e5ba2b0631b28b5b1405559237b3913c878f (diff) | |
feat: rewrite in rust
Diffstat (limited to 'migrations/20240101000000_create_users.sql')
| -rw-r--r-- | migrations/20240101000000_create_users.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/migrations/20240101000000_create_users.sql b/migrations/20240101000000_create_users.sql new file mode 100644 index 0000000..8519916 --- /dev/null +++ b/migrations/20240101000000_create_users.sql @@ -0,0 +1,6 @@ +-- Migration: Create users table +CREATE TABLE IF NOT EXISTS users ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + user_id TEXT NOT NULL UNIQUE, + role TEXT NOT NULL DEFAULT 'user' +);
\ No newline at end of file |
