Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pauloharaujos/9f449c85574cab646f69e76e9f329242 to your computer and use it in GitHub Desktop.
Save pauloharaujos/9f449c85574cab646f69e76e9f329242 to your computer and use it in GitHub Desktop.
M2 - Convert old Setup Scripts to Declarative Schema
Remove your module from setup_module table
Remove your module tables from the database
Run bin/magento setup:install --convert-old-scripts=1 && bin/magento setup:upgrade --convert-old-scripts=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment