浏览代码

[global] Order : ajout champs 'mean_payment'

refactoring
父节点
当前提交
9158ca7e94
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. +17
    -0
      console/migrations/m191227_090504_ajout_champs_order_mean_payment.php

+ 17
- 0
console/migrations/m191227_090504_ajout_champs_order_mean_payment.php 查看文件

@@ -0,0 +1,17 @@
<?php

use yii\db\Migration;
use yii\db\mysql\Schema;

class m191227_090504_ajout_champs_order_mean_payment extends Migration
{
public function up()
{
$this->addColumn('order', 'mean_payment', Schema::TYPE_STRING) ;
}

public function down()
{
$this->dropColumn('order', 'mean_payment') ;
}
}

正在加载...
取消
保存