Sfoglia il codice sorgente

[global] Order : ajout champs 'mean_payment'

refactoring
parent
commit
9158ca7e94
1 ha cambiato i file con 17 aggiunte e 0 eliminazioni
  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 Vedi 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…
Annulla
Salva