We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b72680 commit 0ec875dCopy full SHA for 0ec875d
db/schema.sql
@@ -15,11 +15,15 @@ CREATE TABLE sessions_archive (
15
);
16
17
CREATE TABLE transactions_archive (
18
- id UUID PRIMARY KEY,
19
- session_id UUID REFERENCES sessions_archive(id) ON DELETE CASCADE,
20
- status TEXT CHECK (status IN ('success', 'failure')) NOT NULL,
21
- output TEXT,
22
- created_at TIMESTAMP NOT NULL
+ id UUID PRIMARY KEY,
+ session_id UUID REFERENCES sessions_archive(id) ON DELETE CASCADE,
+ action TEXT NOT NULL,
+ resource TEXT NOT NULL,
+ permissions TEXT NOT NULL,
23
+ status TEXT CHECK (status IN ('success', 'failure', 'pending')) NOT NULL,
24
+ error TEXT,
25
+ output TEXT,
26
+ created_at TIMESTAMP NOT NULL
27
28
29
-- indexes
0 commit comments