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

Migration can only be executed safely on MySQL #6

Closed
KojoEnch opened this issue Sep 5, 2023 · 5 comments
Closed

Migration can only be executed safely on MySQL #6

KojoEnch opened this issue Sep 5, 2023 · 5 comments

Comments

@KojoEnch
Copy link

KojoEnch commented Sep 5, 2023

Hi, I was searching such a "layout bundle" for a new Symfony project, until I tried to run migrations.

In a nutshell, before I dig into your SQL statements, could you tell us what are the incompatibilities with PostgreSQL ?
Thanks all for the amazing work !

@emodric
Copy link
Member

emodric commented Sep 5, 2023

Hi! Some of the migration queries are MySQL specific. We haven't had the chance (or project) to implement pgsql specific ones.

@ilukac
Copy link

ilukac commented Sep 5, 2023

@KojoEnch we have unit test run against pgsql and all pass. There is also a new project which we are developing with pgsql and so far we dind't experence any problem, but it's still not live. The only thing missing are migrations.

@KojoEnch
Copy link
Author

KojoEnch commented Sep 5, 2023

Hey, thanks all for your quick reply ! @ilukac in order to update the schema, I suppose you rewrote the schema dump to pgsql with pgLoader or some other tool then.

@emodric
Copy link
Member

emodric commented Sep 5, 2023

Schema is already available for tests, but you can use it on your own: https://github.com/netgen-layouts/layouts-core/blob/master/tests/_fixtures/schema/schema.pgsql.sql

@KojoEnch
Copy link
Author

KojoEnch commented Sep 5, 2023

Amazing. Yet I have a short question, I'm gonna opening an issue to keep things clean, and leave you in peace then ;) Thanks again for this great package.

@KojoEnch KojoEnch closed this as completed Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants