Shorten column name.
This commit is contained in:
parent
1beae2c040
commit
27d4226c6e
|
@ -2577,12 +2577,12 @@ describe.each([
|
||||||
name: "name",
|
name: "name",
|
||||||
type: FieldType.STRING,
|
type: FieldType.STRING,
|
||||||
},
|
},
|
||||||
relationship: {
|
rel: {
|
||||||
name: "relationship",
|
name: "rel",
|
||||||
type: FieldType.LINK,
|
type: FieldType.LINK,
|
||||||
relationshipType: RelationshipType.MANY_TO_MANY,
|
relationshipType: RelationshipType.MANY_TO_MANY,
|
||||||
tableId: toRelateTable._id!,
|
tableId: toRelateTable._id!,
|
||||||
fieldName: "relationship",
|
fieldName: "rel",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
const [row1, row2] = await Promise.all([
|
const [row1, row2] = await Promise.all([
|
||||||
|
@ -2591,7 +2591,7 @@ describe.each([
|
||||||
])
|
])
|
||||||
row = await config.api.row.save(table._id!, {
|
row = await config.api.row.save(table._id!, {
|
||||||
name: "product 1",
|
name: "product 1",
|
||||||
relationship: [row1._id, row2._id],
|
rel: [row1._id, row2._id],
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue