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.

20 lines
268B

  1. <?php
  2. use yii\db\Migration;
  3. class m200117_161844_order_existantes_set_status extends Migration
  4. {
  5. public function safeUp()
  6. {
  7. Order::updateAll([
  8. 'status' => 'tmp-order'
  9. ]) ;
  10. }
  11. public function safeDown()
  12. {
  13. }
  14. }