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
If the same simple change to the schema of a table is applied to a column using the above 2 methods, the output is completely different. This is because ''changeTableSql()'' does not call the database specific method, but instead uses the generic base method. So using the following change to a table:
In addition, ''changeTableSql()'' now calls the driver specific ''dropColumnSql()'' instead of using the generic method in case of column drops.
This issue was previously reported by @boshrin on #383 For Postgres/xmlSchema but covers all drivers using the datadict feature, thx for the code snippet.
The text was updated successfully, but these errors were encountered:
mnewnham
changed the title
mssqlnative: different results when column is modified between alterColumnSql() and changeTableSQL()
datadict: different results when column is modified between alterColumnSql() and changeTableSQL()
Sep 5, 2022
If the same simple change to the schema of a table is applied to a column using the above 2 methods, the output is completely different. This is because ''changeTableSql()'' does not call the database specific method, but instead uses the generic base method. So using the following change to a table:
'regiondescription C(100) NOTNULL DEFAULT "BILL"';
When passed to ''alterColumnSql()'', the result is
When passed to ''changeTableSql()''
In addition, ''changeTableSql()'' now calls the driver specific ''dropColumnSql()'' instead of using the generic method in case of column drops.
This issue was previously reported by @boshrin on #383 For Postgres/xmlSchema but covers all drivers using the datadict feature, thx for the code snippet.
The text was updated successfully, but these errors were encountered: