feat: Mac local development support + ordered DB migrations#29
Merged
Conversation
- Add docker-compose.override.yml (gitignored) with localhost URL overrides - Add .env.local support via --env-file flag - Update .env.example with correct localhost URLs for local dev - Add 'Mac local development' section to DEVELOPMENT.md - Gitignore docker-compose.override.yml to keep it machine-local Database migrations renamed to numbered prefix for guaranteed init order: 001_init.sql (was init.sql) 002_add_riot_accounts.sql 003_add_match_tables.sql 004_add_training_peaks_tables.sql 005_add_workout_name_column.sql 006_add_training_sessions_columns.sql (fix duplicate constraint on fresh init) 007_add_garmin_tables.sql (was 002_add_garmin_tables.sql) 008_add_user_devices_table.sql 009_add_hearts_tables.sql (was z-add-hearts-tables.sql, newer version) 010_add_hearts_fines.sql 011_add_match_sync_tables.sql (was z-add-match-sync-tables.sql) 012_cleanup_soft_delete.sql Removed: add-hearts-tables.sql (superseded by 009)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Database migrations renamed to numbered prefix for guaranteed init order:
001_init.sql (was init.sql)
002_add_riot_accounts.sql
003_add_match_tables.sql
004_add_training_peaks_tables.sql
005_add_workout_name_column.sql
006_add_training_sessions_columns.sql (fix duplicate constraint on fresh init)
007_add_garmin_tables.sql (was 002_add_garmin_tables.sql)
008_add_user_devices_table.sql
009_add_hearts_tables.sql (was z-add-hearts-tables.sql, newer version)
010_add_hearts_fines.sql
011_add_match_sync_tables.sql (was z-add-match-sync-tables.sql)
012_cleanup_soft_delete.sql
Removed: add-hearts-tables.sql (superseded by 009)