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 lines
427B

  1. <?php
  2. use yii\db\Migration;
  3. use yii\db\mysql\Schema;
  4. class m190204_151019_add_champs_infos_legales extends Migration {
  5. public function up() {
  6. $this->addColumn('producer', 'mentions', Schema::TYPE_TEXT) ;
  7. $this->addColumn('producer', 'gcs', Schema::TYPE_TEXT) ;
  8. }
  9. public function down() {
  10. $this->dropColumn('producer', 'mentions') ;
  11. $this->dropColumn('producer', 'gcs') ;
  12. }
  13. }