|
- <?php
-
- use yii\db\Migration;
- use yii\db\Schema;
-
- class m201207_164410_specific_prices_percent extends Migration
- {
- public function safeUp()
- {
- $this->addColumn('product_price', 'percent', Schema::TYPE_INTEGER) ;
- }
-
- public function safeDown()
- {
- $this->dropColumn('product_price', 'percent') ;
-
- return false;
- }
-
-
-
- }
|