Jump to:

3460 Posts in 1064 Topics by 739 members

Data Model Questions

SilverStripe Forums » Data Model Questions » How to clean DB

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

Page: 1
Go to End
Author Topic: 1138 Views
  • roterl
    Avatar
    Community Member
    44 Posts

    How to clean DB Link to this post

    After I do some coding, I end off with a lot of mess in the DB.

    Is there any way to delete the unused DB tables and fields ? After all SS know which are not in use

    Thanks,
    Rotem.

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: How to clean DB Link to this post

    You'll have to manually open phpMyAdmin and edit the tables and structure yourself. There are no automated tools with SS for cleaning the database.

  • roterl
    Avatar
    Community Member
    44 Posts

    Re: How to clean DB Link to this post

    this can be nice feature request.
    when calling the /dev/build, instead of just add the new fields to delete the unused one (when adding some parameter, like /dev/build?delunuse=1 or so) so for regular updated it will keep the current - safe - behavior.

    1138 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.