Skip to content

feat(facade,db,webpage,apod,README): add --force-migration flag and conditional DB migration - #61

Merged
spiegel-im-spiegel merged 1 commit into
mainfrom
add-force-migration-flag
Sep 16, 2026
Merged

spiegel-im-spiegel merged 1 commit into
mainfrom
add-force-migration-flag

Conversation

@spiegel-im-spiegel

Copy link
Copy Markdown
Member

feat(facade,db,webpage,apod,README): add --force-migration flag and conditional DB migration

  • introduce migrationFlag and global CLI flag (--force-migration) in facade
  • propagate migrationFlag to db.Open and to apod/webpage constructors
  • update db.Open to run migrations when DB file is missing or migrationFlag is true, and improve related logging/comments
  • update README: use ~ for default paths, add --force-migration to help output, minor APOD/help text tweaks and example adjustment
  • bump copyright years to 2023-2026

…onditional DB migration

- introduce migrationFlag and global CLI flag (--force-migration) in facade
- propagate migrationFlag to db.Open and to apod/webpage constructors
- update db.Open to run migrations when DB file is missing or migrationFlag is true, and improve related logging/comments
- update README: use ~ for default paths, add --force-migration to help output, minor APOD/help text tweaks and example adjustment
- bump copyright years to 2023-2026
@spiegel-im-spiegel
spiegel-im-spiegel merged commit 9b9f51c into main Sep 16, 2026
4 checks passed
@spiegel-im-spiegel
spiegel-im-spiegel deleted the add-force-migration-flag branch September 16, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant