您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

30 行
569B

  1. <?php
  2. use yii\db\Migration;
  3. /**
  4. * Class m230823_072853_delete_development_order_status
  5. */
  6. class m230823_072853_delete_development_order_status extends Migration
  7. {
  8. /**
  9. * {@inheritdoc}
  10. */
  11. public function safeUp()
  12. {
  13. $this->dropTable('development');
  14. $this->dropTable('development_priority');
  15. $this->dropTable('order_status');
  16. }
  17. /**
  18. * {@inheritdoc}
  19. */
  20. public function safeDown()
  21. {
  22. echo "m230823_072853_delete_development_order_status cannot be reverted.\n";
  23. return false;
  24. }
  25. }