adding database scheme