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.

m190109_080828_add_field_subscription_order.php 305B

1234567891011121314
  1. <?php
  2. use yii\db\Migration;
  3. class m190109_080828_add_field_subscription_order extends Migration {
  4. public function up() {
  5. $this->addColumn('order', 'id_subscription', Schema::TYPE_INTEGER) ;
  6. }
  7. public function down() {
  8. $this->dropColumn('order', 'id_subscription') ;
  9. }
  10. }