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

m170201_074937_champs_code_point_vente.php 314B

1234567891011121314151617
  1. <?php
  2. use yii\db\Migration;
  3. use yii\db\Schema;
  4. class m170201_074937_champs_code_point_vente extends Migration
  5. {
  6. public function up()
  7. {
  8. $this->addColumn('point_vente', 'code', Schema::TYPE_STRING) ;
  9. }
  10. public function down()
  11. {
  12. $this->dropColumn('point_vente','code') ;
  13. }
  14. }