Question 10
Consider the following models Brand and Cellphone corresponding to tables brand and cellphone in SQLite database.
class Brand(db.Model): id = db.Column(db.Integer(), primary_key = True) name = db.Column(db.String(), unique = True)
class Cellphone(db.Model): id = db.Column(db.Integer(), primary_key = True) name = db.Column(db.String(), unique = True) brand = db.Column(db.Integer(), unique = True, db.ForeignKey("brand.id"))Based on the model schemas, what relationship do the classes Brand and Cellphone share?
One-to-One
One-to-Many
Many-to-Many
The tables are not at all related