fix: sql syntax incompatibility with sqlite/postgresql
This commit is contained in:
parent
9826068208
commit
5e00060421
4 changed files with 6 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ CREATE TABLE transaction_audit_logs (
|
|||
transaction_id TEXT NOT NULL,
|
||||
actor_id TEXT REFERENCES users(id) ON DELETE SET NULL,
|
||||
action TEXT NOT NULL,
|
||||
metadata JSONB NOT NULL DEFAULT '{}'::jsonb,
|
||||
metadata JSONB NOT NULL DEFAULT '{}',
|
||||
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue