Table script generator changed (FK DDL ordering fixed)