Skip to content

Commit

Permalink
feat: logs table (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai authored Jul 8, 2024
1 parent 646407f commit 9bc8585
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions node/migrations/node/000027_log.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE IF EXISTS logs
5 changes: 5 additions & 0 deletions node/migrations/node/000027_log.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CREATE TABLE IF NOT EXISTS logs (
id SERIAL PRIMARY KEY,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
message TEXT NOT NULL
)

0 comments on commit 9bc8585

Please sign in to comment.