Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Alternatively if you dont need the same data use somewhat like laravel's migrations. With them, you can easily share database layouts as php files and everyone just has to run the migrate command to have a database that fits the development state.
-
cahva10158yYeah normally you dont need the actual data on db, update schema through migrations. Use local db. We use docker and docker-compose so all our devs have the same dev environment.
Its too risky to use shared database as you dont know what others might be doing with it. -
I use a tool called RoundhousE. It's a database versioning tool that works off scripts in the git repo. It's quick, helpful, and painless (unless you get a SQL error, then you need god on your side!)
$rant = false;
Let say you guys are working in a team of 3 and need to share a database. All of you are in different locations.
I am currently hosting my database on online server, which is kind of slow for me because I have poor Internet in my country. How do you guys do it?
undefined
team
database
fml. share