feat(migration): SeaORM baseline, Supabase SQL, idempotent DDL#288
Open
CIOI wants to merge 4 commits into
Open
feat(migration): SeaORM baseline, Supabase SQL, idempotent DDL#288CIOI wants to merge 4 commits into
CIOI wants to merge 4 commits into
Conversation
Made-with: Cursor
…+ supabase dirs - Move packages/api-server/migration -> legacy (crate migration_legacy); api-server still depends on migration crate with empty Migrator for supabase-dev baseline work - Move supabase/migrations SQL -> supabase/legacy; active supabase/migrations is README-only until new SQL is added - Document paths in AGENT.md, database-summary, supabase CLI guide Made-with: Cursor
- Split dev schema into m20260421_000001–000007 SeaORM steps with inline SQL bundles\n- Add split_dev_schema.py helper for regenerating step files from dumps\n- Add Supabase migrations: functions (20260421100000), triggers/auth (20260421110000), RLS (20260421120000)\n- Document apply order in api-server and supabase migration READMEs Made-with: Cursor
- Wrap warehouse ENUMs and constraint/index DDL for safe re-run on brownfield DBs\n- post_magazines CHECK includes failed; legacy migration aligned\n- CREATE TABLE IF NOT EXISTS, OR REPLACE views, index IF NOT EXISTS, DO blocks for constraints Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
|
I'll analyze this and get back to you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
m20260421_000001–000007) with bundled SQL underpackages/api-server/migration/sql/.supabase/migrations/20260421*).IF NOT EXISTStables/indexes,DO$$blocks for constraints,failedonpost_magazinesCHECK (legacy migration aligned).Notes
supabase db pushfor SQL files as needed per env.Closes: (add issue number in PR description if you have one)
Made with Cursor