Might be nice for the migration generator to throw an error when it
notes an invalid type.

On Jul 6, 6:19 am, Bryan Larsen <[email protected]> wrote:
> time isn't a valid type.  Use datetime.  The list is 
> here:http://cookbook.hobocentral.net/manual/hobofields/hobofields_api
>
> Bryan
>
> On Jul 5, 7:27 pm, Rick <[email protected]> wrote:
>
> > On Sun, Jul 5, 2009 at 7:15 PM, Matt Jones<[email protected]> wrote:
>
> > > If you change the declaration in the model and run script/generate
> > > hobo_migration it will detect the change and generate a correct
> > > migration.
>
> > That was the first thing I tried, so I think I might have found a bug?
>
> > If I try to change a field from integer to string, and run
> > script/generate hobo_migration, I see the behavior as described.
>
> > However, if I change integer to time, it simply says "Database and
> > models match -- nothing to change"
>
> > It's as if it doesn't recognize that integer and time are different?
> > (For now just using the simple sqlite3)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to