spine-framework 0.3.130 → 0.3.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58,6 +58,8 @@ CREATE TABLE IF NOT EXISTS public.roles (
|
|
|
58
58
|
app_id uuid, account_id uuid,
|
|
59
59
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
60
60
|
UNIQUE(slug)
|
|
61
|
+
type_id uuid,
|
|
62
|
+
created_by uuid,
|
|
61
63
|
);
|
|
62
64
|
CREATE TABLE IF NOT EXISTS public.items (
|
|
63
65
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
@@ -138,6 +140,8 @@ CREATE TABLE IF NOT EXISTS public.pipelines (
|
|
|
138
140
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
139
141
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
140
142
|
UNIQUE(app_id, slug)
|
|
143
|
+
type_id uuid,
|
|
144
|
+
created_by uuid,
|
|
141
145
|
);
|
|
142
146
|
CREATE TABLE IF NOT EXISTS public.pipeline_executions (
|
|
143
147
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
@@ -158,6 +162,7 @@ CREATE TABLE IF NOT EXISTS public.triggers (
|
|
|
158
162
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
159
163
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
160
164
|
UNIQUE(app_id, slug)
|
|
165
|
+
created_by uuid,
|
|
161
166
|
);
|
|
162
167
|
CREATE TABLE IF NOT EXISTS public.trigger_executions (
|
|
163
168
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
@@ -178,6 +183,7 @@ CREATE TABLE IF NOT EXISTS public.timers (
|
|
|
178
183
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
179
184
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
180
185
|
UNIQUE(app_id, slug)
|
|
186
|
+
created_by uuid,
|
|
181
187
|
);
|
|
182
188
|
CREATE TABLE IF NOT EXISTS public.prompt_configs (
|
|
183
189
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
@@ -197,6 +203,7 @@ CREATE TABLE IF NOT EXISTS public.integrations (
|
|
|
197
203
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
198
204
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
199
205
|
UNIQUE(app_id, slug)
|
|
206
|
+
created_by uuid,
|
|
200
207
|
);
|
|
201
208
|
CREATE TABLE IF NOT EXISTS public.integration_routes (
|
|
202
209
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
@@ -219,6 +226,7 @@ CREATE TABLE IF NOT EXISTS public.observability (
|
|
|
219
226
|
app_id uuid, account_id uuid, type_id uuid,
|
|
220
227
|
metric_name text, metric_value numeric, metric_unit text,
|
|
221
228
|
context jsonb DEFAULT '{}', metadata jsonb DEFAULT '{}',
|
|
229
|
+
created_by uuid,
|
|
222
230
|
created_at timestamptz DEFAULT now()
|
|
223
231
|
);
|
|
224
232
|
CREATE TABLE IF NOT EXISTS public.test_runs (
|
|
@@ -229,6 +237,7 @@ CREATE TABLE IF NOT EXISTS public.test_runs (
|
|
|
229
237
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
230
238
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
231
239
|
UNIQUE(app_id, slug)
|
|
240
|
+
created_by uuid,
|
|
232
241
|
);
|
|
233
242
|
CREATE TABLE IF NOT EXISTS public.test_cases (
|
|
234
243
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
@@ -263,6 +272,7 @@ CREATE TABLE IF NOT EXISTS public.ai_agents (
|
|
|
263
272
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
264
273
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
265
274
|
UNIQUE(app_id, slug)
|
|
275
|
+
created_by uuid,
|
|
266
276
|
);
|
|
267
277
|
CREATE TABLE IF NOT EXISTS public.invites (
|
|
268
278
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
@@ -270,6 +280,7 @@ CREATE TABLE IF NOT EXISTS public.invites (
|
|
|
270
280
|
slug text NOT NULL, name text NOT NULL, description text,
|
|
271
281
|
config jsonb DEFAULT '{}', metadata jsonb DEFAULT '{}',
|
|
272
282
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
283
|
+
created_by uuid,
|
|
273
284
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
274
285
|
UNIQUE(app_id, slug)
|
|
275
286
|
);
|
|
@@ -281,6 +292,7 @@ CREATE TABLE IF NOT EXISTS public.api_keys (
|
|
|
281
292
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
282
293
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
283
294
|
UNIQUE(app_id, slug)
|
|
295
|
+
created_by uuid,
|
|
284
296
|
);
|
|
285
297
|
CREATE TABLE IF NOT EXISTS public.alerts (
|
|
286
298
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
@@ -299,6 +311,8 @@ CREATE TABLE IF NOT EXISTS public.item_progress (
|
|
|
299
311
|
is_active boolean DEFAULT true, is_system boolean DEFAULT false,
|
|
300
312
|
created_at timestamptz DEFAULT now(), updated_at timestamptz DEFAULT now(),
|
|
301
313
|
UNIQUE(app_id, slug)
|
|
314
|
+
item_id uuid NOT NULL,
|
|
315
|
+
created_by uuid,
|
|
302
316
|
);
|
|
303
317
|
|
|
304
318
|
CREATE TABLE IF NOT EXISTS public.account_paths (
|