You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

m161214_153820_add_champs_etablissement_actif.php 329B

1234567891011121314151617
  1. <?php
  2. use yii\db\Migration;
  3. use yii\db\Schema;
  4. class m161214_153820_add_champs_etablissement_actif extends Migration
  5. {
  6. public function up()
  7. {
  8. $this->addColumn('etablissement', 'actif', Schema::TYPE_BOOLEAN) ;
  9. }
  10. public function down()
  11. {
  12. $this->dropColumn('etablissement', 'actif') ;
  13. }
  14. }