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

WIP/POC - Add database migrations capability using Phinx. #958

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

noplanman
Copy link
Member

Proof of concept to allow easy database migrations using Phinx.

Before anything like this gets merged into core, we really should think about a centralised config management, like using phpdotenv or just a simple config.php that contains all configurations and credentials.

Probably makes sense to merge the Manager into core!

@akalongman In the scheme of things, I look forward to see how the migrations could work with Laravels DB library, which would also allow the whole DB management to become muuuch cleaner and easier.

Copy link

@VoDmAl VoDmAl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this POC

@akalongman
Copy link
Member

@noplanman please take a look #963

@asafov
Copy link

asafov commented May 26, 2020

I can help with write migration files for phinx.

@noplanman
Copy link
Member Author

Thanks @asafov, this PR is a proof of concept and for sure the DB structure needs to be "clean" and nice before putting any more work into this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
v1
Database
Development

Successfully merging this pull request may close these issues.

None yet

4 participants