Remove _add references

This commit is contained in:
Adria Navarro 2024-04-16 13:04:16 +02:00
parent 33c40a897a
commit de47f44959
1 changed files with 0 additions and 10 deletions

View File

@ -255,9 +255,6 @@ describe("mysql integrations", () => {
name: "new_column", name: "new_column",
}, },
}, },
_add: {
name: "new_column",
},
} }
jest jest
@ -273,25 +270,18 @@ describe("mysql integrations", () => {
type: FieldType.NUMBER, type: FieldType.NUMBER,
name: "id", name: "id",
autocolumn: true, autocolumn: true,
constraints: {
presence: false,
},
externalType: "int unsigned", externalType: "int unsigned",
}, },
new_column: { new_column: {
type: FieldType.NUMBER, type: FieldType.NUMBER,
name: "new_column", name: "new_column",
autocolumn: false, autocolumn: false,
constraints: {
presence: false,
},
externalType: "float(8,2)", externalType: "float(8,2)",
}, },
}, },
created: true, created: true,
_id: `${datasource._id}__${addColumnToTable.name}`, _id: `${datasource._id}__${addColumnToTable.name}`,
} }
delete expectedTable._add
expect(emitDatasourceUpdateMock).toHaveBeenCalledTimes(1) expect(emitDatasourceUpdateMock).toHaveBeenCalledTimes(1)
const emittedDatasource: Datasource = const emittedDatasource: Datasource =