Update 20240405000045_org-memberships-unique-constraint.ts

This commit is contained in:
Daniel Hougaard
2024-04-23 01:49:44 +02:00
parent 44ff1abd74
commit 233a4f7d77

View File

@@ -98,8 +98,6 @@ export async function up(knex: Knex): Promise<void> {
`Deleted ${numberOfRowsDeleted} duplicate organization memberships for ${row.userId} and ${row.orgId}`
);
}
throw new Error("This is a test error");
});
await knex.schema.alterTable(TableName.OrgMembership, (table) => {