Browse Source

修改antgoods模块所有模型文件数据表名的表前缀

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
54a55c27ec
  1. 2
      vendor/antgoods/goods/src/models/ars/Attribute.php
  2. 2
      vendor/antgoods/goods/src/models/ars/Brand.php
  3. 2
      vendor/antgoods/goods/src/models/ars/Category.php
  4. 2
      vendor/antgoods/goods/src/models/ars/FilterAttr.php
  5. 2
      vendor/antgoods/goods/src/models/ars/Goods.php
  6. 2
      vendor/antgoods/goods/src/models/ars/GoodsAttr.php
  7. 2
      vendor/antgoods/goods/src/models/ars/GoodsSku.php
  8. 2
      vendor/antgoods/goods/src/models/ars/ShopCategory.php
  9. 2
      vendor/antgoods/goods/src/models/ars/Supplier.php

2
vendor/antgoods/goods/src/models/ars/Attribute.php

@ -24,7 +24,7 @@ class Attribute extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_attribute';
return 'antgoods_attribute';
} }
/** /**

2
vendor/antgoods/goods/src/models/ars/Brand.php

@ -21,7 +21,7 @@ class Brand extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_brand';
return 'antgoods_brand';
} }
/** /**

2
vendor/antgoods/goods/src/models/ars/Category.php

@ -27,7 +27,7 @@ class Category extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_category';
return 'antgoods_category';
} }
/** /**

2
vendor/antgoods/goods/src/models/ars/FilterAttr.php

@ -23,7 +23,7 @@ class FilterAttr extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_filter_attr';
return 'antgoods_filter_attr';
} }
/** /**

2
vendor/antgoods/goods/src/models/ars/Goods.php

@ -49,7 +49,7 @@ class Goods extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_goods';
return 'antgoods_goods';
} }
/** /**

2
vendor/antgoods/goods/src/models/ars/GoodsAttr.php

@ -23,7 +23,7 @@ class GoodsAttr extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_goods_attr';
return 'antgoods_goods_attr';
} }
/** /**

2
vendor/antgoods/goods/src/models/ars/GoodsSku.php

@ -36,7 +36,7 @@ class GoodsSku extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_goods_sku';
return 'antgoods_goods_sku';
} }
/** /**

2
vendor/antgoods/goods/src/models/ars/ShopCategory.php

@ -30,7 +30,7 @@ class ShopCategory extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_shop_category';
return 'antgoods_shop_category';
} }
/** /**

2
vendor/antgoods/goods/src/models/ars/Supplier.php

@ -24,7 +24,7 @@ class Supplier extends \yii\db\ActiveRecord
*/ */
public static function tableName() public static function tableName()
{ {
return 'ats_supplier';
return 'antgoods_supplier';
} }
/** /**

Loading…
Cancel
Save