Add metadata migration setup (#1674)

* Add metadata migration setup

* add migration generator

* fix missing 'mocks'

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
This commit is contained in:
Weiko
2023-09-21 02:27:07 +02:00
committed by GitHub
parent fc820f47b2
commit 19365f6639
14 changed files with 391 additions and 20 deletions

View File

@ -21,8 +21,11 @@ export class FieldMetadata {
@Column({ nullable: false })
type: string;
@Column({ nullable: false })
name: string;
@Column({ nullable: false, name: 'display_name' })
displayName: string;
@Column({ nullable: false, name: 'target_column_name' })
targetColumnName: string;
@Column({ default: false, name: 'is_custom' })
isCustom: boolean;