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.

m161117_094154_add_champs_code_boulangerie.php 494B

12345678910111213141516171819202122232425262728
  1. <?php
  2. use yii\db\Migration;
  3. use yii\db\Schema ;
  4. class m161117_094154_add_champs_code_boulangerie extends Migration
  5. {
  6. public function up()
  7. {
  8. $this->addColumn('etablissement', 'code', Schema::TYPE_STRING) ;
  9. }
  10. public function down()
  11. {
  12. $this->dropColumn('etablissement', 'code') ;
  13. }
  14. /*
  15. // Use safeUp/safeDown to run migration code within a transaction
  16. public function safeUp()
  17. {
  18. }
  19. public function safeDown()
  20. {
  21. }
  22. */
  23. }