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.

33 lines
705B

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