mirror of
https://github.com/anand34577/ferrum.git
synced 2026-09-18 16:45:16 +00:00
10 lines
241 B
SQL
10 lines
241 B
SQL
-- +goose Up
|
|
CREATE TABLE user_preferences (
|
|
user_id TEXT PRIMARY KEY REFERENCES users(id) ON DELETE CASCADE,
|
|
theme TEXT NOT NULL DEFAULT 'system',
|
|
updated_at TEXT NOT NULL
|
|
);
|
|
|
|
-- +goose Down
|
|
DROP TABLE user_preferences;
|