Morph relation : migration builder (#13173)
This PR will create the migration to be run for the morph relations - We created a dedicated util to generate the column name and refactored a little the code in order to have less dependencies and a clearer devX (updated the snapshot that changed because of this) - Moved the `createMigrationActions` to its own util as well - Created the `MorphRelationColumnActionFactory` based on the relation one --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -2,9 +2,10 @@ module.exports = {
|
||||
plugins: ['@stylistic'],
|
||||
extends: ['../../.eslintrc.global.cjs'],
|
||||
ignorePatterns: [
|
||||
'src/engine/workspace-manager/demo-objects-prefill-data/**',
|
||||
'src/engine/seeder/data-seeds/**',
|
||||
'src/engine/seeder/metadata-seeds/**',
|
||||
'src/engine/workspace-manager/dev-seeder/data/constants/**',
|
||||
'src/engine/workspace-manager/dev-seeder/data/seeds/**',
|
||||
'src/utils/email-providers.ts',
|
||||
'src/engine/core-modules/i18n/locales/generated/**',
|
||||
'src/engine/core-modules/serverless/drivers/constants/base-typescript-project/src/index.ts',
|
||||
],
|
||||
overrides: [
|
||||
|
||||
Reference in New Issue
Block a user