Cloud migrations: store resource name in the cloud_migration_resource table (#93612)
* Cloud migrations: store resource name in the cloud_migration_resource table * remove unused function: convertMigrateDataResponseToDTO * make swagger-clean && make openapi3-gen * use DB_Text for cloud_migration_resource.name instead of DB_Varchar
This commit is contained in:
@@ -158,4 +158,10 @@ func addCloudMigrationsMigrations(mg *Migrator) {
|
||||
|
||||
// -- delete the snapshot result column while still in the experimental phase
|
||||
mg.AddMigration("delete cloud_migration_snapshot.result column", NewRawSQLMigration("ALTER TABLE cloud_migration_snapshot DROP COLUMN result"))
|
||||
|
||||
mg.AddMigration("add cloud_migration_resource.name column", NewAddColumnMigration(migrationResourceTable, &Column{
|
||||
Name: "name",
|
||||
Type: DB_Text,
|
||||
Nullable: true,
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user