trypost/database
Paulo Castellano 42d5adeb1a refactor: consolidate billing migrations into original files
Instead of separate alter-table migrations, edit the original
create_table migrations directly since we're resetting the database.

- Users table: removed stripe_id, pm_type, pm_last_four, trial_ends_at
- Workspaces table: added plan_id, stripe_id, pm_type, pm_last_four, trial_ends_at
- Subscriptions table: changed user_id FK to workspace_id FK
- Social accounts table: added brand_id FK
- Plans and brands tables ordered before their dependents
- Deleted 5 redundant alter-table migrations
2026-04-14 18:59:43 -03:00
..
factories feat: move Billable from User to Workspace with plan support 2026-04-14 18:22:36 -03:00
migrations refactor: consolidate billing migrations into original files 2026-04-14 18:59:43 -03:00
seeders feat: create PlanSeeder with 4 tiered plans 2026-04-14 17:56:13 -03:00
.gitignore chore: first commit 2026-01-14 22:13:44 -03:00