Skip to content
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

[Maintenance] Add a note about PostgreSQL migrations support #15043

Merged
merged 1 commit into from May 20, 2023
Merged

[Maintenance] Add a note about PostgreSQL migrations support #15043

merged 1 commit into from May 20, 2023

Conversation

Rafikooo
Copy link
Contributor

Q A
Branch? 1.13
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets #14950
License MIT

@Rafikooo Rafikooo added the Maintenance CI configurations, READMEs, releases, etc. label May 16, 2023
@Rafikooo Rafikooo requested a review from a team as a code owner May 16, 2023 23:54
@jakubtobiasz jakubtobiasz merged commit a9dbbe0 into Sylius:1.13 May 20, 2023
2 checks passed
@jakubtobiasz
Copy link
Member

Thank you, @Rafikooo!

jakubtobiasz added a commit that referenced this pull request Oct 11, 2023
This PR was merged into the 1.13 branch.

Discussion
----------

Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | yes                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | yes <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | #15050 #15043 #14950            |
| License         | MIT                                                          |

The installation of Sylius 1.13 with PostgreSQL on board ended with the following error:
<img width="1665" alt="image" src="https://github.com/Sylius/Sylius/assets/40125720/87b8e16c-a281-4bb3-9b99-b158ab67c9d1">
This PR resolves this issue

Second, we removed checking:
```php
if (method_exists($connection, 'createSchemaManager')) {
    return $connection->createSchemaManager();
}

if (method_exists($connection, 'getSchemaManager')) {
    /** @psalm-suppress DeprecatedMethod */
    return $connection->getSchemaManager();
}
```
as we no longer support `doctrine/dbal: 2.x` in `Sylius 1.13`

Commits
-------
  [CoreBundle] Remove deprecated PostgreSQL platform check when installing Sylius
  [CoreBundle] Remove deprecated availability check of createSchemaManager method
  [CoreBundle] Add minor improvements for the DatabaseSetupCommandsProvider class
  [CoreBundle] Update the PostgreSQLDefaultSchemaListener class
  [ECS] Apply ecs fixes
  [Migrations] Remove deprecated availability check of createSchemaManager method
  [CoreBundle] Refactor the DatabaseSetupCommandsProvider class
GSadee pushed a commit to Sylius/SyliusCoreBundle that referenced this pull request Oct 12, 2023
This PR was merged into the 1.13 branch.

Discussion
----------

Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | yes                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| Deprecations?   | yes <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | Sylius/Sylius#15050 Sylius/Sylius#15043 Sylius/Sylius#14950            |
| License         | MIT                                                          |

The installation of Sylius 1.13 with PostgreSQL on board ended with the following error:
<img width="1665" alt="image" src="https://github.com/Sylius/Sylius/assets/40125720/87b8e16c-a281-4bb3-9b99-b158ab67c9d1">
This PR resolves this issue

Second, we removed checking:
```php
if (method_exists($connection, 'createSchemaManager')) {
    return $connection->createSchemaManager();
}

if (method_exists($connection, 'getSchemaManager')) {
    /** @psalm-suppress DeprecatedMethod */
    return $connection->getSchemaManager();
}
```
as we no longer support `doctrine/dbal: 2.x` in `Sylius 1.13`

Commits
-------
  [CoreBundle] Remove deprecated PostgreSQL platform check when installing Sylius
  [CoreBundle] Remove deprecated availability check of createSchemaManager method
  [CoreBundle] Add minor improvements for the DatabaseSetupCommandsProvider class
  [CoreBundle] Update the PostgreSQLDefaultSchemaListener class
  [ECS] Apply ecs fixes
  [Migrations] Remove deprecated availability check of createSchemaManager method
  [CoreBundle] Refactor the DatabaseSetupCommandsProvider class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance CI configurations, READMEs, releases, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants