chore: update memo store

This commit is contained in:
Steven
2024-01-21 01:23:55 +08:00
parent 288527914b
commit b2fc3076f6
4 changed files with 23 additions and 5 deletions

View File

@ -36,6 +36,7 @@ CREATE TABLE user_setting (
-- memo
CREATE TABLE memo (
id SERIAL PRIMARY KEY,
resource_name TEXT NOT NULL UNIQUE,
creator_id INTEGER NOT NULL,
created_ts BIGINT NOT NULL DEFAULT EXTRACT(EPOCH FROM NOW()),
updated_ts BIGINT NOT NULL DEFAULT EXTRACT(EPOCH FROM NOW()),