refactor(scheme): 优化数据库同步逻辑并增加备份表检查

This commit is contained in:
augushong
2026-01-09 22:26:34 +08:00
parent ff037400e9
commit 23826cd06e
2 changed files with 77 additions and 4 deletions

View File

@@ -40,10 +40,10 @@ class MallGoods extends BaseScheme
#[Field(type: 'text', comment: '商品属性')]
public $property;
#[Field(type: 'decimal', length: 8, precision: 8, scale: 2, default: '0.00', comment: '市场价')]
#[Field(type: 'decimal', length: 8, precision: 8, default: '0', comment: '市场价')]
public $market_price;
#[Field(type: 'decimal', length: 8, precision: 8, scale: 2, default: '0.00', comment: '折扣价')]
#[Field(type: 'decimal', length: 8, precision: 8, default: '0', comment: '折扣价')]
public $discount_price;
#[Field(type: 'int', length: 11, default: '0', comment: '销量', unsigned: true)]