From 4071482f983d66b16cc8a5519f5665990dc7bc02 Mon Sep 17 00:00:00 2001
From: rtkay123 <dev@kanjala.com>
Date: Mon, 30 Mar 2026 14:02:53 +0200
Subject: refactor: camelCase response

---
 migrations/20260329120645_transaction_schema.sql | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'migrations/20260329120645_transaction_schema.sql')

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
-- 
cgit v1.2.3

