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