Versioning of Databases

Asked

Viewed 288 times

0

Utilise Git + SourceTree for versioning and sharing the project with the other members of the team.

But we have some problems related to the database. Is it possible to share it? Like commit in BD and then pull it by another user ?

1 answer

-1

The versioning of the database has its own tool: it is called "Migration".

Virtually all PHP frameworks have their own Migration feature.

But I have worked on projects that simply DID NOT have frameworks... (pasmem). In this case I created a folder called "Migrations" within the project and in this folder I installed a Laravel sub-project. I didn’t use Laravel for anything but generating the Migrations for the bank. Yes, it’s a scam, but it ended the issue of database versioning among developers:

If interested, follow link: https://laravel.com/docs/5.4/migrations

Develop a project without framework and without Migrations... Well, it works if you work alone... But just put 2 developers working together that becomes hell...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.