Commit Graph

11 Commits

Author SHA1 Message Date
Nils-Johan Gynther 6c38101e5c chore(deploy): add database maintenance and migration options
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 7m44s
Test Suite / flutter-quality (push) Failing after 8m15s
Added new deployment options to deploy.sh:
- --migrate: Runs Prisma migration deploy command
- --clean-database: Executes maintenance SQL to clean data while preserving categories

Added new maintenance directory backend/prisma/maintenance/ containing:
- clean-database.sql: SQL script for database cleaning operations

Updated deployment script to:
- Include new command-line flags in help text
- Add conditional blocks for running migrations and database cleaning
- Implement container readiness checks before running Prisma commands
- Preserve existing seed functionality while adding new maintenance features
2026-05-20 20:58:36 +02:00
Nils-Johan Gynther 8e276a34fe feat: enhance deploy script with new flag for checking base image updates and improve usage instructions
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-09 23:09:36 +02:00
Nils-Johan Gynther da193b26ef feat: enhance deploy script with improved flag handling and usage instructions
Test Suite / test (24.15.0) (push) Has been cancelled
2026-05-09 23:05:02 +02:00
Nils-Johan Gynther d47d6466a8 fix(deploy): update seed script references to use full seed_all.sql 2026-05-03 11:38:38 +02:00
nilsjohan 1bba4d92f8 Loggar och chmod +x på skripts 2026-05-03 07:54:35 +02:00
Nils-Johan Gynther b31862d1ff fix: add check for categories_supplement.sql before executing seed script 2026-05-01 01:20:03 +02:00
Nils-Johan Gynther 879501292d fix: update deploy script to include git pull commands for recipe-app and microservice-importer 2026-05-01 01:06:44 +02:00
Nils-Johan Gynther 7f494b75a4 fix: update deploy script to specify compose files for building and starting services 2026-05-01 00:59:21 +02:00
Nils-Johan Gynther 470763715d fix(deploy): wait for db to be ready before running category seed 2026-04-17 23:06:24 +02:00
Nils-Johan Gynther a763f65654 feat(categories): add category seeding functionality and update deployment script 2026-04-17 22:57:53 +02:00
Nils-Johan Gynther 29d4cef688 feat: update Docker Compose configuration and add deployment script 2026-04-15 20:06:20 +02:00