fix: sql syntax incompatibility with sqlite/postgresql

This commit is contained in:
juancwu 2026-05-03 23:59:37 +00:00
commit 5e00060421
4 changed files with 6 additions and 6 deletions

View file

@ -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
);