execute($sql); } catch (\Exception $e) { echo "Error adding column is_print to table qimall_order: " . $e->getMessage() . "\n"; } } /** * {@inheritdoc} */ public function safeDown() { echo "M240618082145AddIsPrintToQimallOrderTable cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M240618082145AddIsPrintToQimallOrderTable cannot be reverted.\n"; return false; } */ }