-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REFACTOR migrate to Silverstripe Link (#28)
- Loading branch information
Showing
3 changed files
with
19 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ Tools to build common functionality in SilverStripe sites. | |
## Requirements | ||
|
||
* Silverstripe ^5 | ||
* gorriecoe/silverstripe-linkfield ^1.0 | ||
* silvershop/silverstripe-hasonefield ^4 | ||
* silverstripe/linkfield: ^4 | ||
* symbiote/silverstripe-gridfieldextensions ^4 | ||
* unclecheese/display-logic ^3 | ||
|
||
|
@@ -28,20 +28,9 @@ composer require dynamic/silverstripe-site-tools | |
## License | ||
See [License](license.md) | ||
|
||
## Upgrading from version 1 | ||
## Upgrading from version 3 | ||
|
||
Site Tools drops `sheadawson/silverstripe-linkable` usage in favor of `gorriecoe/silverstripe-linkfield`. To avoid data loss, install the `dynamic/silverstripe-link-migrator` module as follows: | ||
|
||
```markdown | ||
composer require dynamic/silverstripe-link-migrator | ||
``` | ||
|
||
Then, run the task "Linkable to SilverStripe Link Migration" via `/dev/tasks`, or cli via: | ||
```markdown | ||
vendor/bin/sake dev/tasks/LinkableMigrationTask | ||
``` | ||
|
||
This will populate all of the new Link fields with data from the old class. | ||
This module drops `gorriecoe/silverstripe-linkfield` usage in favor of `silverstripe/linkfield`. | ||
|
||
## Maintainers | ||
* [Dynamic](http://www.dynamicagency.com) (<[email protected]>) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters