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
373B

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