This commit is contained in:
Azeez Muibi
2025-04-11 10:37:17 +01:00
parent 9116d54b4f
commit 144499a4b6
6 changed files with 0 additions and 288 deletions
-14
View File
@@ -1,14 +0,0 @@
CREATE TABLE transactions (
id SERIAL,
transaction_id VARCHAR(50) NOT NULL,
account_id VARCHAR(50) NOT NULL,
type VARCHAR(50) NOT NULL,
channel VARCHAR(8) NOT NULL,
created_at timestamp with time zone DEFAULT now(),
updated_at timestamp with time zone DEFAULT now()
);
ALTER TABLE ONLY transactions
ADD CONSTRAINT transactions_id_key UNIQUE (id);