core icon indicating copy to clipboard operation
core copied to clipboard

WIP/POC - Add database migrations capability using Phinx.

Open noplanman opened this issue 6 years ago • 3 comments

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.

noplanman avatar Jun 04 '19 23:06 noplanman

@noplanman please take a look #963

akalongman avatar Jun 07 '19 23:06 akalongman

I can help with write migration files for phinx.

asafov avatar May 26 '20 02:05 asafov

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 👍

noplanman avatar May 26 '20 12:05 noplanman