Fixed issue with migration failing due to trigger dependencies
Migration fails when there is a trigger that depends on a table that has not yet been created.
This release moves the creation of triggers to after the tables have had their data inserted to avoid any dependency issue.