Shorten column name.

This commit is contained in:
mike12345567 2024-07-26 17:06:04 +01:00
parent 1beae2c040
commit 27d4226c6e
1 changed files with 4 additions and 4 deletions

View File

@ -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],
}) })
}) })