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

Import Db/Table package and get tests passing #665

Merged
merged 5 commits into from
Dec 2, 2023
Merged

Conversation

markstory
Copy link
Member

@markstory markstory commented Dec 1, 2023

Import the Db/Table package from phinx and get the tests passing.

My plan here is to import all of the 'data transfer' objects from phinx and get them referencing each other. Once that is complete, we'll need to import the Plan and Migration wrappers.

This will form the core of the API compatibility with phinx. The adapter layer can be replaced by a mix of Cake's Database package and some more dialect style platform wrappers.

Finally we'll need to provide the same CLI interface that migrations has always given.

I've made this pull request against the no-phinx branch which will be where we iterate on this idea without disrupting a maintenance/release branch.

Import the Db/Table package from phinx and get the tests passing.

My plan here is to import all of the 'data transfer' objects from phinx
and get them referencing each other. Once that is complete, we'll need
to import the Plan and Migration wrappers.

This will form the core of the API compatibility with phinx. The adapter
layer can be replaced by a mix of Cake's Database package and some more
dialect style platform wrappers.

Finally we'll need to provide the same CLI interface that migrations has
always given.
@markstory markstory changed the base branch from 4.x to no-phinx December 1, 2023 05:06
@markstory markstory added this to the 4.x (CakePHP 5) milestone Dec 1, 2023
@markstory markstory merged commit b2c9f7f into no-phinx Dec 2, 2023
8 of 10 checks passed
@markstory markstory deleted the port-table branch December 2, 2023 04:24
@markstory markstory linked an issue Dec 26, 2023 that may be closed by this pull request
3 tasks
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

Successfully merging this pull request may close these issues.

4.x Migrations without Phinx
1 participant