[dev] Kronolith missing 'event_resources' field

Rick Romero rick at havokmon.com
Tue Oct 19 04:47:28 UTC 2010


Quoting "Michael J.Rubinsky" <mrubinsk at horde.org>:
>> Quoting Rick Romero <rick at havokmon.com>:
>   >
>   >> I think I missed something because not only do I not have the
>   >> 'event_resources' field, I had to manually change the kronolith_shares
>   >> table and change the share_id Default from 0 to None before the  
> db_migrate
>   >> script could change it to auto_increment.
>   >>
>   >> Did I miss an upgrade?
>   >
>   > Nope. I did. :)
>   >
>   > That field erroneously got left out of the migration script when it
>   > was refactored. Not sure what you mean about the share_id field. That
>   > field is created only with NOT NULL, not with a default of zero. Not
>   > sure where that came from?
>   >
ah ha!  I'll do a git pull and merge it all correctly someday then :)

I had a couple tables with the share_id set to a Default of 0.  I've been
upgrading these tables forever, and I KNOW I haven't done everyhing 'by
the book'..  just giving a heads up.  

Rick


More information about the dev mailing list