Skip to content

Commit

Permalink
fix: Add the created column in store table
Browse files Browse the repository at this point in the history
Add the created column in store table to save the stored object created timestamp.

Signed-off-by: Lindsey Cheng <beckysocute@gmail.com>
  • Loading branch information
lindseysimple committed Sep 2, 2024
1 parent 6c2ba4a commit 06760e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions res/db/sql/01-tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
-- app_svc.store is used to save StoredObject as JSONB on failure
CREATE TABLE IF NOT EXISTS app_svc.store (
id UUID PRIMARY KEY,
created timestamp NOT NULL DEFAULT now(),
content JSONB NOT NULL
);

0 comments on commit 06760e5

Please sign in to comment.