Redid SQL create commands.