You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
migration.pl supports the feature that extra columns from the source database are also migrated to the target database. These extra columns should have the same name and the same data type as the source columns. But it looks like this does not work for 'IS NULL'. The reason is that in e.g. in https://github.com/RotherOSS/otobo/blob/rel-10_1/Kernel/System/MigrateFromOTRS/CloneDB/Driver/mysql.pm#L296 the check is $ColumnInfos{IS_NULLABLE} =~ /no/ while IS_NULLABLE is either NO or YES.
The text was updated successfully, but these errors were encountered:
bschmalhofer
changed the title
'IS NULL' is not added when extra source columns are migrated
'IS NULL' and default value are not added when extra source columns are migrated
Dec 22, 2022
migration.pl supports the feature that extra columns from the source database are also migrated to the target database. These extra columns should have the same name and the same data type as the source columns. But it looks like this does not work for 'IS NULL'. The reason is that in e.g. in https://github.com/RotherOSS/otobo/blob/rel-10_1/Kernel/System/MigrateFromOTRS/CloneDB/Driver/mysql.pm#L296 the check is
$ColumnInfos{IS_NULLABLE} =~ /no/
while IS_NULLABLE is either NO or YES.The text was updated successfully, but these errors were encountered: