Commit graph

4 commits

Author SHA1 Message Date
Tiago Yamamoto
d2266eb0f9 fix(start.sh): option 6 now runs full pipeline (reset → migrate → seed)
- Step 1: Drop all tables
- Step 2: Run migrations
- Step 3: Seed data
- Fixed misleading 'seeded' message
2025-12-24 10:53:19 -03:00
Tiago Yamamoto
2fb81a6d1a fix(migrations): use Node.js runner instead of psql
- Improve migrate.js with error handling for idempotent migrations
- Add 'npm run migrate' script to seeder-api/package.json
- Update start.sh option 4 to use Node.js-based migration runner
- Handles duplicate tables, columns, constraints gracefully
2025-12-24 10:47:25 -03:00
Tiago Yamamoto
db1a9b9edc feat(start.sh): add migrations and seed reset options
- Reorganize menu with sections: Services, Database, Testing
- Add option 4: Run Migrations (psql each migration file)
- Add option 6: Seed Reset with confirmation prompt
- Renumber tests to option 7
2025-12-24 10:44:07 -03:00
Tiago Yamamoto
8544ca5cfc feat(dev): 🎮 unified interactive start script 2025-12-15 10:00:50 -03:00