aboutsummaryrefslogtreecommitdiffstats
path: root/migrations
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2026-03-30 14:02:53 +0200
committerrtkay123 <dev@kanjala.com>2026-03-30 14:02:53 +0200
commit4071482f983d66b16cc8a5519f5665990dc7bc02 (patch)
treebd1b630df7c46edb34f96f4264b19ddbda14b0a0 /migrations
parent1b5622e14ca3deaf2a25ee785af656779ded7a41 (diff)
downloadwarden-4071482f983d66b16cc8a5519f5665990dc7bc02.tar.bz2
warden-4071482f983d66b16cc8a5519f5665990dc7bc02.zip
refactor: camelCase response
Diffstat (limited to 'migrations')
-rw-r--r--migrations/20260329120645_transaction_schema.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/migrations/20260329120645_transaction_schema.sql b/migrations/20260329120645_transaction_schema.sql
index d7b4744..8496c80 100644
--- a/migrations/20260329120645_transaction_schema.sql
+++ b/migrations/20260329120645_transaction_schema.sql
@@ -2,14 +2,14 @@
-- The transaction's blueprint to be checked on each request
create table transaction_schema (
-- The transaction type
- type text not null,
+ schema_type text not null,
-- The schema's version (to allow for multiple revisions - maybe)
- version varchar not null,
+ schema_version varchar not null,
-- Actual JSON schema
- json_schema jsonb not null,
+ schema jsonb not null,
created_at timestamptz not null default now(),
updated_at timestamptz not null default now(),
- primary key (type, version)
+ primary key (schema_type, schema_version)
);
create trigger update_transaction_schema_modtime