re-arranged createTables.sql to allow valid import