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
I'm using the bundle with Postrgres 16. The database URL is postgresql://$DB_USER:$DB_PASSWORD@db:5432/$DB_NAME?serverVersion=16.2&charset=utf8. But on every doctrine:migrations:diff it creates migrations like the following:
finalclassVersion20240311103945extendsAbstractMigration
{
publicfunctiongetDescription(): string
{
return'';
}
publicfunctionup(Schema$schema): void
{
// this up() migration is auto-generated, please modify it to your needs
}
publicfunctiondown(Schema$schema): void
{
// this down() migration is auto-generated, please modify it to your needs$this->addSql('CREATE SCHEMA public');
}
}
No matter what are other changes, it ALWAYS adds the $this->addSql('CREATE SCHEMA public'); line to all migrations.
How to fix it?
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
I'm using the bundle with Postrgres 16. The database URL is
postgresql://$DB_USER:$DB_PASSWORD@db:5432/$DB_NAME?serverVersion=16.2&charset=utf8
. But on everydoctrine:migrations:diff
it creates migrations like the following:No matter what are other changes, it ALWAYS adds the
$this->addSql('CREATE SCHEMA public');
line to all migrations.How to fix it?
The text was updated successfully, but these errors were encountered: