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.

18 line
327B

  1. <?php
  2. use yii\db\Migration;
  3. use yii\db\Schema;
  4. class m200118_134323_ajout_champs_producer_address extends Migration
  5. {
  6. public function safeUp()
  7. {
  8. $this->addColumn('producer', 'address', Schema::TYPE_TEXT) ;
  9. }
  10. public function safeDown()
  11. {
  12. $this->dropColumn('producer', 'address') ;
  13. }
  14. }