You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

m230823_072853_delete_development_order_status.php 569B

1234567891011121314151617181920212223242526272829
  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. }