diff --git a/CHANGELOG.md b/CHANGELOG.md index f61dd8e..990bf70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## 2.0.8 +- Fix migrations dependencies for future UF Version. + ## 2.0.7 - Fix migrations. diff --git a/src/Database/Migrations/v200/ProfileFieldsTable.php b/src/Database/Migrations/v200/ProfileFieldsTable.php index 445b8bc..d7de4f4 100644 --- a/src/Database/Migrations/v200/ProfileFieldsTable.php +++ b/src/Database/Migrations/v200/ProfileFieldsTable.php @@ -22,7 +22,8 @@ class ProfileFieldsTable extends Migration * {@inheritDoc} */ public $dependencies = [ - '\UserFrosting\Sprinkle\Account\Database\Migrations\v400\GroupsTable' + '\UserFrosting\Sprinkle\Account\Database\Migrations\v400\GroupsTable', + '\UserFrosting\Sprinkle\UserProfile\Database\Migrations\v100\ProfileFieldsTable' ]; /** diff --git a/src/Database/Migrations/v201/ProfileFieldsTable.php b/src/Database/Migrations/v201/ProfileFieldsTable.php index a454ea4..6837107 100644 --- a/src/Database/Migrations/v201/ProfileFieldsTable.php +++ b/src/Database/Migrations/v201/ProfileFieldsTable.php @@ -21,7 +21,9 @@ class ProfileFieldsTable extends Migration /** * {@inheritDoc} */ - public $dependencies = []; + public $dependencies = [ + '\UserFrosting\Sprinkle\UserProfile\Database\Migrations\v200\ProfileFieldsTable' + ]; /** * {@inheritDoc}