DR.Wong
05-25-2009, 07:25 AM
Hey there everyone,
I've hit a bit of a brick wall on this, but I'm sure it's something someone with proper knowledge can do blind folded.
I have a web app.. got a few buddies running it.
I now have an update for that web app.
The MySQL database has a table structure something like :
Table : Countries
Columns : id | country | country_code
They have lots of info (many rows) in this table by now.
The new version of my app needs to update the table to :
Table : Countries
Columns : id | country | country_code | population | capital
I have many changes like this all over my database in many tables.
I even have a table or two to be added.
I have tried exporting a blank database from phpMyAdmin and then importing it into the existing database but this seems to have no effect adding new columns to a table.
Does anyone have a good solution to do this?
I've hit a bit of a brick wall on this, but I'm sure it's something someone with proper knowledge can do blind folded.
I have a web app.. got a few buddies running it.
I now have an update for that web app.
The MySQL database has a table structure something like :
Table : Countries
Columns : id | country | country_code
They have lots of info (many rows) in this table by now.
The new version of my app needs to update the table to :
Table : Countries
Columns : id | country | country_code | population | capital
I have many changes like this all over my database in many tables.
I even have a table or two to be added.
I have tried exporting a blank database from phpMyAdmin and then importing it into the existing database but this seems to have no effect adding new columns to a table.
Does anyone have a good solution to do this?