@@ -30,11 +30,11 @@ Note: Always include the issue ID in a commit comment, e. g. #23 implemented upd
...
@@ -30,11 +30,11 @@ Note: Always include the issue ID in a commit comment, e. g. #23 implemented upd
### Writing Migration
### Writing Migration
We use [flywaydb](https://flywaydb.org/) for [database migration](https://www.wikiwand.com/en/Schema_migration).
We use [flywaydb](https://flywaydb.org/) for [database migration](https://www.wikiwand.com/en/Schema_migration).
If you never heared of [database migration](https://www.wikiwand.com/en/Schema_migration) please dig into the topic, this manual will allways cover technical details!
If you never heard of [database migration](https://www.wikiwand.com/en/Schema_migration) please dig into the topic, this this manual will only cover technical details.
### Migration scripts
### Migration scripts
Our migrations can be found here: https://github.com/FAForever/db/tree/develop/migrations
Our migrations can be found here: https://github.com/FAForever/db/tree/develop/migrations
Name Convention: `Vxx_some-keywords.sql`
Naming Convention: `Vxx__some-keywords.sql`
A [pull request](https://github.com/FAForever/db/issues?q=is%3Apr+is%3Aclosed) typically contains one migration. The maintainer may change your filename, mostly the version.
A [pull request](https://github.com/FAForever/db/issues?q=is%3Apr+is%3Aclosed) typically contains one migration. The maintainer may change your filename, mostly the version.