7 lines
462 B
SQL
7 lines
462 B
SQL
-- 014: subscriptions.created_at — additiv.
|
|
-- lib/subscriptions-store.ts SELECT:ar `created_at` men sql/001_init.sql definierade
|
|
-- aldrig kolumnen, så GET /api/subscriptions (200-kontraktet) bröt mot Postgres
|
|
-- (42703 errorMissingColumn, mätt live 2026-09-22 på 0pt.app). Idempotent; applicerad
|
|
-- live på 0pt-edge-postgres (xh70k0qa0cyju840zsvsgoze) samma pass.
|
|
ALTER TABLE subscriptions ADD COLUMN IF NOT EXISTS created_at timestamptz DEFAULT now();
|