Skip to content
New issue

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

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

Already on GitHub? # to your account

backend/enhancement/adding-flyway-package-#368 #412

Merged

Conversation

ahmetkudu
Copy link
Contributor

@ahmetkudu ahmetkudu commented Nov 21, 2023

  • added a dependency implementation("org.flywaydb:flyway-core")
  • configuration file is FlywayConfig.kt that I wrote
  • database migration sql files should locate src/main/resources with strict convention as you see below:
Screenshot 2023-11-21 at 16 32 56
  • initialise the database tables in the migration called V1__initilize_database.
  • If we wanna change database (using CRUD operation), we have to create new database migration with V2__ prefix. All database migration should be increasing one by one.

@ahmetkudu ahmetkudu linked an issue Nov 21, 2023 that may be closed by this pull request
@ahmetkudu ahmetkudu changed the base branch from main to develop November 22, 2023 17:00
@ohbahadiroglu ohbahadiroglu merged commit cd56bb1 into develop Nov 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Backend] Adding the Flyway package
2 participants