mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
添加迁移脚本
This commit is contained in:
3
src/main/resources/db/migration/V51__product.sql
Normal file
3
src/main/resources/db/migration/V51__product.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
update t_coal_washing_daily_analysis a
|
||||
set product_id = (select id from t_product p where p.name = a.name)
|
||||
where a.product_id is null;
|
||||
Reference in New Issue
Block a user