ordering migration before running
ordering sql queries