I just truncated sales_shipment_grid, but want to know that how can regenerate it. Means that have all data on sales_shipment yet but there is nothing on sales_shipment_grid and this table is empty. Actually, I want to regenerate it.

PS: I tried setup:upgrade, di:compile, static-content:deploy, reindex, flush cache too.

  • If you haven't a backup you need to create a query to insert records calculated from sales_shipment – LucScu Nov 21 '18 at 12:14
  • Thanks for your answer, could you please let me know the query? – MGPM Nov 21 '18 at 12:17
  • I just only suggest you to create an insert with select from sales_hipment with the fields you have to fill – LucScu Nov 21 '18 at 12:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.