Are you an LLM? You can read better optimized documentation at /plugin/backend/migrate.md for this page in Markdown format
Database Migration β
Database Migration File Instructions
- The plugin defaults to using Migration to manage data migration and seeding for the plugin.
Unless absolutely necessary
, all data migrations should be performed using migration files and seed files. UseInstallScript
andUninstallScript
for other checks or file migrations.- The database migration directory for plugins follows the standards outlined in the Plugin Directory Structure section.