Added sql to allow table creation.