Put sequence generation on the top of the generated SQL script instead of bottom

Ádám Markója 2 aastat tagasi uuendaja Rafał Strzaliński (Senior Engineer) 2 aastat tagasi 1

Generated SQL scripts usually creates tables before sequences. For this reason model deployment fails due to the missing references in case of PostgreSQL.