palewire / django-calaccess-campaign-browser

A Django app to refine, review and republish campaign finance data drawn from the California Secretary of State’s CAL-ACCESS database
http://django-calaccess-campaign-browser.californiacivicdata.org
MIT License
17 stars 12 forks source link

Migration history? #75

Closed aboutaaron closed 10 years ago

aboutaaron commented 10 years ago

@palewire I see you added a new field:

(1054, "Unknown column 'calaccess_campaign_browser_filing.date_received' in 'field list'")

Perhaps we should have some sort of migration history setup so we can add and remove columns at will. I don't know if bumping to Django 1.7 would help. It looks like you may be using it already but requirements.txt still asks for Djnago 1.6.x.

palewire commented 10 years ago

Something we should definitely get around to, though I think we're in for a big number of revisions yet if we take this app as far as it can go. Since we're at an early stage and we routinely smash and grab the data, I'm okay with blowing up my database repeatedly but if you'd find it useful now I say run with the idea since we will need it someday.

aboutaaron commented 10 years ago

Makes sense. Since development is active, we'll just save migration history for version 1.0, although it may be worth adding it sooner if we see ourselves editing more models in the future.

Moving to #76