mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
fix: Add missing indices on sqlite (#6673)
* fix: enforce tag name uniqueness on sqlite * rename migration and add other missing indices * add tags tests
This commit is contained in:
@@ -24,7 +24,8 @@ export type EndpointGroup =
|
||||
| 'sourceControl'
|
||||
| 'eventBus'
|
||||
| 'license'
|
||||
| 'variables';
|
||||
| 'variables'
|
||||
| 'tags';
|
||||
|
||||
export interface SetupProps {
|
||||
applyAuth?: boolean;
|
||||
|
||||
@@ -28,6 +28,7 @@ import {
|
||||
NodesController,
|
||||
OwnerController,
|
||||
PasswordResetController,
|
||||
TagsController,
|
||||
UsersController,
|
||||
} from '@/controllers';
|
||||
import { setupAuthMiddlewares } from '@/middlewares';
|
||||
@@ -261,6 +262,14 @@ export const setupTestServer = ({
|
||||
logger,
|
||||
}),
|
||||
);
|
||||
break;
|
||||
case 'tags':
|
||||
registerController(
|
||||
app,
|
||||
config,
|
||||
new TagsController({ config, externalHooks, repositories }),
|
||||
);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user