1
0
Fork 0
mirror of synced 2024-07-14 18:55:45 +12:00

Create endpoint and controller function for user column migration.

This commit is contained in:
Sam Rose 2023-10-18 10:31:36 +01:00
parent bbda776c49
commit 3634687442
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View file

@ -158,3 +158,5 @@ export async function validateExistingTableImport(ctx: UserCtx) {
ctx.status = 422
}
}
export async function migrate(ctx: UserCtx) {}

View file

@ -167,4 +167,11 @@ router
tableController.bulkImport
)
.post(
"/api/tables/:tableId/migrate",
paramResource("tableId"),
authorized(BUILDER),
tableController.migrate
)
export default router