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
Jira issue originally created by user richardhinkamp:
Using the Schema\Comparator to diff a table in sqlite with a unsigned integer. When creating the table and comparing it with the same definition it gives a diff which is not expected:
DROP INDEX IDX_1F5D03E2F85E0677
CREATE TEMPORARY TABLE *_temp__test_users AS SELECT id, username, password FROM test*users
DROP TABLE test_users
CREATE TABLE test_users (id INTEGER NOT NULL, username VARCHAR(32) NOT NULL, password VARCHAR(64) NOT NULL, PRIMARY KEY(id))
INSERT INTO test*users (id, username, password) SELECT id, username, password FROM __temp__test*users
DROP TABLE *_temp__test*users
CREATE INDEX IDX*1F5D03E2F85E0677 ON test*users (username)
When setting unsigned to false everything works. Shouldn't Doctrine know unsigned is not supported in sqlite?
The text was updated successfully, but these errors were encountered:
SQLite doesn't have the notion of unsigned. You have to remote the "unsigned" => true flag to stop confusing Sqlite and the Comparision and it will work.
Jira issue originally created by user richardhinkamp:
Using the Schema\Comparator to diff a table in sqlite with a unsigned integer. When creating the table and comparing it with the same definition it gives a diff which is not expected:
Expect result:
Actual result:
When setting unsigned to false everything works. Shouldn't Doctrine know unsigned is not supported in sqlite?
The text was updated successfully, but these errors were encountered: