New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed Unsigned Integer Support in SQL Server (and unsupported platforms) #2283
Comments
@scalp I'm not sure if I get the issue here. Where is SQL Server platform even using |
Hi @deeky666, it's the same issue as ISSUE-1695 but for SQLServer. Requests are finely generated without It's because Schema\SQLServerSchemaManager->createSchema return a Schema\Schema without Impact is schema and database are never consider as sync for exemple by command like "doctrine:schema:update" whereas they are. For instance, it's a problem when you use third libraries which defines |
@scalp got it now. Thanks for reporting. Unfortunately the comparator isn't platform aware so vendor specific comparator issues have to be dealt with (and is already done) in the platform's |
I understand comparator isn't platform aware. But why in your opinion this should be fixed in Platforms\SQLServerPlatform->getAlterTableSQL instead of modify these lines of _Schema\SchemaDiff->toSql. For instance with a new platform method like |
@scalp the problem with that approach is, that it doesn't fix |
We ran into this problem last week, as we started migrating a project from MariaDB to SQL Server. I agree with @deeky666 that |
As of #4746, schema comparison is schema-aware. Could somebody verify if this issue is still relevant? |
I changed jobs a few weeks ago, and I am no longer able to test this. Sorry for the inconvenience! |
Then I'll close it given that the issue doesn't contain reproduction steps. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
In my opinion PR-207 didn't remove full support in SQL Server of UNSIGNED integer.
Like ISSUE-1695 for SQLite, Schema\Comparator return differences for each column with "unsigned => true" attribute.
As i see, UNSIGNED integer is not available from neither SQL Server, PostgreSQL, SQLite, DB2, ...
I tried to see in which way it would be possible to fix it :
What do you think about theses solutions ? I can make a PR for solution 2 or 3. First way is too complicated for me and maybe a little bit unreasonable.
The text was updated successfully, but these errors were encountered: