mirror of
https://github.com/twentyhq/twenty
synced 2026-04-21 13:37:22 +00:00
Remove virtual fieldType Relation from fieldMetadata sync
This commit is contained in:
parent
d28843bb85
commit
a15128df36
1 changed files with 8 additions and 0 deletions
|
|
@ -85,6 +85,10 @@ export class WorkspaceMigrationFieldFactory {
|
|||
const workspaceMigrations: Partial<WorkspaceMigrationEntity>[] = [];
|
||||
|
||||
for (const fieldMetadata of fieldMetadataCollection) {
|
||||
if (fieldMetadata.type === FieldMetadataType.RELATION) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const migrations: WorkspaceMigrationTableAction[] = [
|
||||
{
|
||||
name: computeObjectTargetTable(
|
||||
|
|
@ -116,6 +120,10 @@ export class WorkspaceMigrationFieldFactory {
|
|||
const workspaceMigrations: Partial<WorkspaceMigrationEntity>[] = [];
|
||||
|
||||
for (const fieldMetadataUpdate of fieldMetadataUpdateCollection) {
|
||||
if (fieldMetadataUpdate.altered.type === FieldMetadataType.RELATION) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const migrations: WorkspaceMigrationTableAction[] = [
|
||||
{
|
||||
name: computeObjectTargetTable(
|
||||
|
|
|
|||
Loading…
Reference in a new issue