Removed the unique constraint in the Account data model.

This commit is contained in:
依瑪貓 2023-02-03 07:30:01 +08:00
parent 9920377266
commit eeb05b8616

View File

@ -118,7 +118,6 @@ class Account(db.Model):
l10n = db.relationship("AccountL10n", back_populates="account",
lazy=False)
"""The localized titles."""
db.UniqueConstraint(base_code, no)
__CASH = "1111-001"
"""The code of the cash account,"""