chore(db): add full schema snapshot (structure only) to bring the base current
Structure-only export from a live SeedProject site (68 tables: the sp_ framework — users, oauth, tokens, settings, roles/permissions, api_requests, orgs, saas/billing, menus, kathe — plus the mde_ content model: content, directory, events, comments, reactions, categories…). Every table is CREATE TABLE IF NOT EXISTS, so it composes with the existing 001/002 migrations and only fills in what's missing. This modernizes the base off the legacy `usergen`/`api_requests` schema and is the prerequisite for porting the auth system, Mailer, and resource registry upstream. No data included. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FMQeUnUrAeexcZ7P2Hxa6G
This commit is contained in:
parent
d085d26c78
commit
c542092a2a
1 changed files with 1315 additions and 0 deletions
1315
api/db/migrations/003_schema_snapshot.sql
Normal file
1315
api/db/migrations/003_schema_snapshot.sql
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue