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.

17 satır
469B

  1. <?php
  2. use domain\Producer\Producer\Producer;
  3. use yii\db\Migration;
  4. use yii\db\mysql\Schema;
  5. class m190522_091006_option_comportement_annulation_commande extends Migration {
  6. public function up() {
  7. $this->addColumn('producer', 'option_behavior_cancel_order', Schema::TYPE_STRING.' DEFAULT \''.Producer::BEHAVIOR_DELETE_ORDER_STATUS.'\'') ;
  8. }
  9. public function down() {
  10. $this->dropColumn('producer', 'option_behavior_cancel_order') ;
  11. }
  12. }