From 83c4e7bc97bbcdbf7e2a1cdbe9b97d83d2d57d36 Mon Sep 17 00:00:00 2001 From: a2a-cloud Date: Sat, 18 Jul 2026 06:48:02 +0000 Subject: [PATCH] a2a-source-edit: write db/migrations/001_app_records.sql --- db/migrations/001_app_records.sql | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/db/migrations/001_app_records.sql b/db/migrations/001_app_records.sql index 9317315..3ae916b 100644 --- a/db/migrations/001_app_records.sql +++ b/db/migrations/001_app_records.sql @@ -1,11 +1,5 @@ -CREATE TABLE IF NOT EXISTS app_records ( - id BIGSERIAL PRIMARY KEY, - tenant_key TEXT NOT NULL, - record_kind TEXT NOT NULL, - payload JSONB NOT NULL, - created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), - updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW() -); - -CREATE INDEX IF NOT EXISTS app_records_tenant_kind_idx - ON app_records (tenant_key, record_kind, created_at DESC); +-- QuoteJudge Studio v0.1.0 managed Postgres baseline. +-- The product tables are created by 001_quote_judge.sql. This scaffold +-- placeholder is intentionally inert so fresh installs converge without +-- retaining the generic app_records table from the full-stack template. +SELECT 1;