|
- <?php
-
- use yii\db\Migration;
- use yii\db\Schema;
-
- class m161219_135239_champs_facture_periode extends Migration
- {
- public function up()
- {
- $this->addColumn('facture', 'periode', Schema::TYPE_STRING) ;
- }
-
- public function down()
- {
- $this->dropColumn('facture', 'periode') ;
- }
- }
|