05/06 fixed db migration file 2
This commit is contained in:
+1
-1
@@ -408,7 +408,7 @@ class Transaction(db.Model):
|
||||
nullable=False, index=True)
|
||||
location_id = db.Column(db.Integer, db.ForeignKey("locations.id"),
|
||||
nullable=False, index=True)
|
||||
appointment_id = db.Column(db.Integer, db.ForeignKey("appointments.id"),
|
||||
appointment_id = db.Column(db.Integer, db.ForeignKey("appointments.id", use_alter=True, name="fk_transaction_appointment"),
|
||||
nullable=True)
|
||||
customer_id = db.Column(db.Integer, db.ForeignKey("customers.id"),
|
||||
nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user