Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Database rebuilding Issue


Go to End


793 Views

Avatar
SilverStripe_Newbie

Community Member, 1 Post

23 April 2012 at 8:42pm

Edited: 23/04/2012 8:53pm

Hi All,

I have SS website running at my local machine(Source fetched from remote),I have made some changes to it and when i rebuild the database it the database is rebuild properly.I pushed the code to the remote and when i try rebuilding the database there i m getting this error "Error at sapphire/core/model/MySQLDatabase.php line 525: Couldn't run query:" .........Unknown column 'Table_Name.New_Fields_Added_in_Class in 'field list'.....
The Query seems to be failing because SilverStripe is running a select query on that table where it is not getting the column which i newly added,would be great if someone can explain the rebuilding of database process

Can anyone point me towards this. .

Thanks