Bläddra i källkod

[global] Order : ajout champs 'mean_payment'

refactoring
Guillaume Bourgeois 4 år sedan
förälder
incheckning
9158ca7e94
1 ändrade filer med 17 tillägg och 0 borttagningar
  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 Visa fil

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

Laddar…
Avbryt
Spara