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

@ -23,8 +23,8 @@ export class DataSourceMetadata {
@Column({ type: 'enum', enum: ['postgres'], default: 'postgres' })
type: DataSourceType;
@Column({ nullable: true })
name: string;
@Column({ nullable: true, name: 'display_name' })
displayName: string;
@Column({ default: false, name: 'is_remote' })
isRemote: boolean;