您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

m190204_151019_add_champs_infos_legales.php 427B

1234567891011121314151617
  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. }