magekey/module-migration-sql

Magento 2 Migration SQL

Installs: 44

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:magento2-module

2.1.1 2018-10-22 22:32 UTC

This package is auto-updated.

Last update: 2024-11-23 11:31:01 UTC


README

Developer tool helps to migrate sql scripts created based on trigger changes.

Features:

  • Create / delete triggers for table(s)
  • Push changes to sql file.

Installing the Extension

composer require magekey/module-migration-sql

Using the Extension

php bin/magento migration:trigger:create cms_block cms_page

Do insert/update/delete changes with those tables

php bin/magento migration:trigger:delete
php bin/magento migration:trigger:push [migration_name] [--module Vendor_Module]

Apply changes

php bin/magento migration:setup:upgrade

or

php bin/magento setup:upgrade

Deployment

php bin/magento maintenance:enable                  #Enable maintenance mode
php bin/magento setup:upgrade                       #Updates the Magento software
php bin/magento setup:di:compile                    #Compile dependencies
php bin/magento setup:static-content:deploy         #Deploys static view files
php bin/magento cache:flush                         #Flush cache
php bin/magento maintenance:disable                 #Disable maintenance mode

Versions tested

2.2.6