make flavor name and adapter_id to be the unique key
Change-Id: I86901b4bec172434768b8651b3f74baae4027083
This commit is contained in:
parent
58d6fbc31f
commit
4da902bec3
@ -2044,7 +2044,7 @@ class AdapterFlavor(BASE, HelperMixin):
|
||||
Integer,
|
||||
ForeignKey('adapter.id', onupdate='CASCADE', ondelete='CASCADE')
|
||||
)
|
||||
name = Column(String(80), unique=True)
|
||||
name = Column(String(80))
|
||||
display_name = Column(String(80))
|
||||
template = Column(String(80))
|
||||
_ordered_flavor_roles = Column(
|
||||
|
Loading…
x
Reference in New Issue
Block a user