Skip to content

Commit

Permalink
Fix migrations dependencies for future UF Version.
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Dec 19, 2017
1 parent ec762bf commit 57e75c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## 2.0.8
- Fix migrations dependencies for future UF Version.

## 2.0.7
- Fix migrations.

Expand Down
3 changes: 2 additions & 1 deletion src/Database/Migrations/v200/ProfileFieldsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
];

/**
Expand Down
4 changes: 3 additions & 1 deletion src/Database/Migrations/v201/ProfileFieldsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ class ProfileFieldsTable extends Migration
/**
* {@inheritDoc}
*/
public $dependencies = [];
public $dependencies = [
'\UserFrosting\Sprinkle\UserProfile\Database\Migrations\v200\ProfileFieldsTable'
];

/**
* {@inheritDoc}
Expand Down

0 comments on commit 57e75c5

Please sign in to comment.