/ alembic Public
mssql dialect not anticipating existing_type + type sent at the same time #812
Something isn't working
Microsoft SQL Server
microsoft SQL Server, e.g. mssql
I have the following table in my MSSQL database:
I wish to alter the data type of column
idto VARCHAR(15) NOT NULL. I expected the following commands to produce the same result:
The first one works perfectly
However, if I add the
alter_columnoperation, things become confusing...
and as a result the column
idhas now type VARCHAR(15) NULL and the creation of primary key fails (because primary key columns cannot be NULL).
Is this the intended behavior? If it is, would it be possible to add some sort of notice or warning regarding the use of parameter
alter_columnwith MSSQL to documentation?
The text was updated successfully, but these errors were encountered: