Add Transaction

This commit is contained in:
aditya.siregar
2024-07-30 23:39:55 +07:00
parent 719218da03
commit b6f75082e9
11 changed files with 395 additions and 26 deletions
@@ -0,0 +1 @@
DROP TABLE transaction cascade;
+13
View File
@@ -0,0 +1,13 @@
CREATE TABLE transaction
(
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
partner_id NUMERIC NOT NULL,
transaction_type varchar not null,
reference_id varchar,
status varchar,
created_by numeric not null,
updated_by numeric not null,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);