16 lines
351B

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