I have, simplified, the following models:
class Booking(db.Model):
id = db.Column(db.Integer, primary_key=True)
class PlanBooking(Booking):
id = db.Column(db.Integer, db.ForeignKey(Booking.id),
primary_key=True)
class FeatureBooking(Booking):
id = db.Column(db.Integer,
On Aug 25, 2010, at 3:07 PM, Michael Elsdörfer wrote:
I have, simplified, the following models:
class Booking(db.Model):
id = db.Column(db.Integer, primary_key=True)
class PlanBooking(Booking):
id = db.Column(db.Integer, db.ForeignKey(Booking.id),
primary_key=True)
class