Browse Source

[global] Order : ajout champs 'mean_payment'

refactoring
Guillaume Bourgeois 5 years ago
parent
commit
9158ca7e94
1 changed files with 17 additions and 0 deletions
  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 View File

@@ -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') ;
}
}

Loading…
Cancel
Save