|
@ -0,0 +1,20 @@ |
|
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
|
|
use yii\db\Migration; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Class m191203_022720_add_column_sku_id_in_table_ats_order_goods |
|
|
|
|
|
*/ |
|
|
|
|
|
class m191203_022720_add_column_sku_id_in_table_ats_order_goods extends Migration |
|
|
|
|
|
{ |
|
|
|
|
|
public function up() |
|
|
|
|
|
{ |
|
|
|
|
|
$this->addColumn('ats_order_goods', 'sku_id', $this->integer(11)->defaultValue(null)->comment('sku_id')); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function down() |
|
|
|
|
|
{ |
|
|
|
|
|
$this->dropColumn('ats_order_goods', 'sku_id'); |
|
|
|
|
|
return true; |
|
|
|
|
|
} |
|
|
|
|
|
} |