views:

18

answers:

0

I have a development env and a beta env for the app that i am building. Yesterday i came across a strange error.

I wrote a migration to change one of the tables and it worked fine on my dev env. Once i deployed the changes to the beta env it ran and but when i access the page it started giving me trouble. The new columns that i added were all underfined columns when it comes to the beta environment. So looked at the schema for the column on the beta side using column_names fucntion on the class and it still had the old columns while logging into mysql there and checking the fields in the table shows me the new ones.

Anyone have any idea why is the schema not updating while the database was updated. Is there anyway to update the schema for a class, like some function or something.

Thanks in advance for all the help.