tweaked sql file for drizzle compatability