namespace ; use Craft; use craft\db\Migration; /** * migration. */ class extends Migration { /** * @inheritdoc */ public function safeUp() { // Place installation code here... // Place migration code here... } /** * @inheritdoc */ public function safeDown() { // Place uninstallation code here... echo " cannot be reverted.\n"; return false; } }