I currently update my database my exporting it in PHP admin from my local setup and then importing my database on my server online , This wipes out all the entries on my online database.
ususally since i am still working on my blog , i just need to update a columb etc , so how do update a database without wiping out the entire databsse online ?
Thank you.
Gautam.
how do update a database without wiping out the entire DB
Moderator: General Moderators
Re: how do update a database without wiping out the entire D
Use statements like ALTER TABLE to change columns.
Re: how do update a database without wiping out the entire D
You might want to consider using migrations. Laravel has them built in, or you can use something like Phinx.
Re: how do update a database without wiping out the entire D
@requinix Thanks , though i am not directly writeing the sql to my production database.
@celauran ! thats totally skipped me , thanks , will try and use migrartions , chekced out phinx , its nice TY
@celauran ! thats totally skipped me , thanks , will try and use migrartions , chekced out phinx , its nice TY