fix(api): ipam assign address

This commit is contained in:
pycook
2024-11-11 18:56:09 +08:00
parent 1bf8588984
commit f7e748701d
4 changed files with 21 additions and 9 deletions

View File

@@ -476,6 +476,7 @@ class PreferenceShowAttributes(Model):
uid = db.Column(db.Integer, index=True, nullable=False)
type_id = db.Column(db.Integer, db.ForeignKey("c_ci_types.id"), nullable=False)
attr_id = db.Column(db.Integer, db.ForeignKey("c_attributes.id"))
builtin_attr = db.Column(db.String(256), nullable=True)
order = db.Column(db.SmallInteger, default=0)
is_fixed = db.Column(db.Boolean, default=False)