openworm / ChannelWorm

Tools and curated datasets to build quantitative models of C. elegans ion channels
MIT License
12 stars 11 forks source link

Make fields in models.py nullable #95

Closed travs closed 9 years ago

travs commented 9 years ago

@joebowen said:

So the issue is that the fields in ion_channel/models.py are "non-nullable fields" but don't have defaults. So when you do a makemigrations, it prompts the cron script (which is the true problem, cause cron scripts aren't "promptable") to provide a one-off default. The real fix would be to give the fields defaults or make them nullable

joebowen commented 9 years ago

Example

travs commented 9 years ago

@joebowen Is this issue resolved now?

joebowen commented 9 years ago

@travs my understanding was that the bigger fix for this was to create a sync job but I'm not sure where that stands. @vahidgh might better be able to answer this.

On Tue, Jun 30, 2015, 7:19 AM Travis Jacobs notifications@github.com wrote:

@joebowen https://github.com/joebowen Is this issue resolved now?

— Reply to this email directly or view it on GitHub https://github.com/VahidGh/ChannelWorm/issues/95#issuecomment-117179755.

VahidGh commented 9 years ago

@travs, @joebowen, yes, with new models and updates this is now resolved.