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
make:migration dont create AUTO_INCREMENT on some entity #486
Comments
Adi-18
changed the title
make:migration dont create AUTO_INCREMENT on some object
make:migration dont create AUTO_INCREMENT on some entity
Feb 2, 2023
Adi-18
changed the title
make:migration dont create AUTO_INCREMENT on some entity
'make:migration' dont create 'AUTO_INCREMENT' on some entity
Feb 2, 2023
Adi-18
changed the title
'make:migration' dont create 'AUTO_INCREMENT' on some entity
make:migration dont create AUTO_INCREMENT on some entity
Feb 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doctrine/doctrine-migrations-bundle: 3.2.2
I have several entities. But in one, migration dont add AUTO_INCREMENT
One working Entity :
Result:
$this->addSql('CREATE TABLE mandant (id INT AUTO_INCREMENT NOT NULL, ...')
other, not working, Entity:
Result:
$this->addSql('CREATE TABLE projects (id INT NOT NULL, ...')
And if I add AUTO_INCREMENT manually, next migration will change it again
The text was updated successfully, but these errors were encountered: