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.

m210303_090805_add_group_user_specific_prices.php 392B

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