Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Remove old database fields

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

Page: 1
Go to End
Author Topic: 427 Views
  • suntrop
    Avatar
    Community Member
    131 Posts

    Remove old database fields Link to this post

    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?

  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Remove old database fields Link to this post

    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"

    427 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.