gallery database created