mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
16 lines
656 B
Markdown
16 lines
656 B
Markdown
# Migrations guide
|
|
|
|
## Upgrading from v1.0 to 2.0
|
|
|
|
### Caveat 1: Not used db-migrate to migrate the unleash database
|
|
In FINN we used, for internal reasons, liquebase to migrate our database.
|
|
Because unleash from version 2.0 migrates the datbase internally, with db-migrate,
|
|
you need to make sure that all previous migrations for version 1 exists, so unleash
|
|
does not try to create tables that already exists.
|
|
|
|
#### How to check?
|
|
If you don't a "migrations" table with _7 unique migrations_ you are affected by this cavat.
|
|
|
|
#### How to fix?
|
|
Before starting unleash version 2 you have to run the SQL located under `scripts/fix-migrations-version-1.sql`
|