From c5ea875f544824b0c042bf7c0a58b3134f9c0373 Mon Sep 17 00:00:00 2001
From: rtkay123 <dev@kanjala.com>
Date: Tue, 12 Aug 2025 05:13:32 +0200
Subject: feat(config): get active routing

---
 crates/configuration/migrations/20250812031141_routing.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 crates/configuration/migrations/20250812031141_routing.sql

(limited to 'crates/configuration/migrations/20250812031141_routing.sql')

diff --git a/crates/configuration/migrations/20250812031141_routing.sql b/crates/configuration/migrations/20250812031141_routing.sql
new file mode 100644
index 0000000..f9bacbc
--- /dev/null
+++ b/crates/configuration/migrations/20250812031141_routing.sql
@@ -0,0 +1,6 @@
+create table routing (
+    id uuid primary key,
+    configuration jsonb not null
+);
+
+create index idx_active_routing on routing using gin ((configuration->'active'));
-- 
cgit v1.2.3

