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 |
||
|---|---|---|
| .. | ||
| factories | ||
| migrations | ||
| seeders | ||
| .gitignore | ||