chore(db): add query indexes migration and update project config
- Add database migration for missing query indexes on frequently filtered columns - Update Prisma schema - Update .env.example, eslint config, and dependency-cruiser config Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -31,13 +31,15 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
|
||||
// Apps should not import module internals either
|
||||
// Apps (outside modules) should not import module internals either.
|
||||
// Files inside src/modules/ are covered by no-cross-module-internals above.
|
||||
{
|
||||
name: 'no-app-to-module-internals',
|
||||
severity: 'error',
|
||||
comment: 'Apps must import modules via their barrel index, not internal files.',
|
||||
from: {
|
||||
path: 'apps/',
|
||||
pathNot: ['src/modules/'],
|
||||
},
|
||||
to: {
|
||||
path: 'src/modules/([^/]+)/.+',
|
||||
|
||||
Reference in New Issue
Block a user