-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Handle foreign keys and indices properly in SQLite and add e2e tests #94
Conversation
CRDB tests fail because pgx driver is missing, but the important failing test case is this one: https://github.com/gobuffalo/fizz/pull/94/checks?check_run_id=788056231 |
What I don't really get, it appears that |
a109105
to
4f21a5e
Compare
@stanislas-m so, I've added a couple of e2e tests now, and fixed #92 and tests are all passing locally. This is ready for review :) |
cc0e2a1
to
3615967
Compare
The failing CRDB test is unrelated to this changeset, it fails because soda is missing |
6d07bc7
to
d97f28c
Compare
|
3e669bc
to
4661e59
Compare
Chocolatey should be available on Windows, so: |
Yup, that seems to have worked! :) |
I think you need to update the repository required checks because I changed the job to a dedicated job for windows on SQLite (chocolatey is not available on the other systems) - it's still waiting for the old SQLite test |
This patch resolves issues with `change_column` and `drop_column` which previously caused duplicate or missing indices and foreign keys. To prevent future regressions and help debugging, a new e2e-test pipeline has been added to the project and the CI. Documentation for running the tests has been added to the README. End-to-end tests currently support MySQL, PostgreSQL, and SQLite and do not yet cover other SQL dialects. During review, please help ensure that the SQL fixtures are not missing something :) Closes gobuffalo#92
Ok, figured out how to circumvent that, everything green :) |
LGTM, thanks! |
This patch resolves issues with
change_column
anddrop_column
which previously caused duplicate or missing indices and foreign keys. To prevent future regressions and help debugging,a new e2e-test pipeline has been added to the project and the CI. Documentation for running the tests has been added to the README.
End-to-end tests currently support MySQL, PostgreSQL, and SQLite and do not yet cover other SQL dialects.
During review, please help ensure that the SQL fixtures are not missing something :)
Closes #92