Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sqlite migrations #398

Merged
merged 1 commit into from
Mar 26, 2022
Merged

feat: sqlite migrations #398

merged 1 commit into from
Mar 26, 2022

Conversation

fmartingr
Copy link
Member

@fmartingr fmartingr commented Mar 12, 2022

  • Moved migrations from code to SQL files
  • Using golang-migrate/v4
  • Added a new CLI command: migrate

Test run

  • Create a new database from scratch
  • Use migrate from a 1.5.2 database populated with data
  • Try to migrate a Mysql/PG database should give an error (not implemented)

Closes #392

- Moved migrations from code to SQL files
- Using golang-migrate/v4
- Added a new CLI command: migrate
@fmartingr fmartingr self-assigned this Mar 12, 2022
@fmartingr fmartingr merged commit 81d52a2 into master Mar 26, 2022
@fmartingr fmartingr added this to the 1.5.3 milestone Mar 26, 2022
@fmartingr fmartingr deleted the feat/sqlite-migrations branch October 28, 2022 07:11
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.

Database migrations: SQLite
1 participant