diff --git a/src/main/resources/db/migration/V51__product.sql b/src/main/resources/db/migration/V51__product.sql new file mode 100644 index 00000000..09b77f7a --- /dev/null +++ b/src/main/resources/db/migration/V51__product.sql @@ -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; \ No newline at end of file