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.

Customising the CMS /

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

Remove old database fields


Go to End


2 Posts   1182 Views

Avatar
suntrop

Community Member, 141 Posts

14 August 2012 at 8:18pm

I have removed some unnecessary fields from my page.php (fields I created before)
I thought /dev/build/ should rename those fields with fieldname_old ?

But nothing happens. There is no notification while rebuilding the DB and fields won't change. What's wrong?

Avatar
swaiba

Forum Moderator, 1899 Posts

17 August 2012 at 10:43am

nothing wrong - the system is building or changing what is required and leaves alot of items behind

not a bad thing as if youput a typo into the table and dev/build you would any existing data

if you do want a clean up - https://github.com/smindel/silverstripe-dbplumber contains a "remove artefacts"