Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scandipwa/migrations
ScandiPWA migrations module
https://github.com/scandipwa/migrations
Last synced: 14 days ago
JSON representation
ScandiPWA migrations module
- Host: GitHub
- URL: https://github.com/scandipwa/migrations
- Owner: scandipwa
- License: osl-3.0
- Created: 2019-03-29T12:28:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T16:01:42.000Z (over 5 years ago)
- Last Synced: 2024-10-27T21:21:46.733Z (24 days ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ScandiPWA migrations
Module is a helper to install data and schema patches for ScandiPWA Theme.## Usage
Run `magento setup:upgrade` to apply all new migrations.## Adding new migration
In order to create a data or schema patch you need to:
1. Create new migration script under `Setup/Patch/Data`
2. In newly created file add mandatory methods `apply`, `getDependencies`, `getAliases`
3. Bump module versions in `composer.json` and `module.xml`