- <?php
-
- use yii\db\Migration;
- use yii\db\Schema;
-
- class m161214_153820_add_champs_etablissement_actif extends Migration
- {
- public function up()
- {
- $this->addColumn('etablissement', 'actif', Schema::TYPE_BOOLEAN) ;
- }
-
- public function down()
- {
- $this->dropColumn('etablissement', 'actif') ;
- }
- }
|