|
@@ -556,9 +556,9 @@ var (
|
|
|
PrimaryKey: []*schema.Column{LabelColumns[0]},
|
|
|
Indexes: []*schema.Index{
|
|
|
{
|
|
|
- Name: "label_name_from_mode",
|
|
|
+ Name: "label_name_organization_id",
|
|
|
Unique: true,
|
|
|
- Columns: []*schema.Column{LabelColumns[5], LabelColumns[6], LabelColumns[7]},
|
|
|
+ Columns: []*schema.Column{LabelColumns[5], LabelColumns[9]},
|
|
|
},
|
|
|
},
|
|
|
}
|
|
@@ -621,14 +621,9 @@ var (
|
|
|
},
|
|
|
Indexes: []*schema.Index{
|
|
|
{
|
|
|
- Name: "labelrelationship_label_id",
|
|
|
- Unique: false,
|
|
|
- Columns: []*schema.Column{LabelRelationshipColumns[6]},
|
|
|
- },
|
|
|
- {
|
|
|
- Name: "labelrelationship_contact_id",
|
|
|
- Unique: false,
|
|
|
- Columns: []*schema.Column{LabelRelationshipColumns[5]},
|
|
|
+ Name: "u_label_contact",
|
|
|
+ Unique: true,
|
|
|
+ Columns: []*schema.Column{LabelRelationshipColumns[6], LabelRelationshipColumns[5]},
|
|
|
},
|
|
|
},
|
|
|
}
|