Thanks for checking it out and getting back to me.
Ticket is created:
http://www.assembla.com/spaces/liftweb/tickets/840-can-t-declare-a-squeryl-index-on-a-mandatorytypedfield-unless-it-is-of-type-int
Maxime: Yes, the ~is form does work. I thought it was a conflict with
the is method on TypedField as well at first, but strangely IntField
works as do any of the OptionalTypedFields.
Just a heads up, I ran into another Squeryl/Record issue and I have a
possible fix for it that I'll post about today when I've got a moment.
On Jan 12, 10:25 pm, Maxime Lévesque <
maxime.leves...@gmail.com>
wrote:
> I'm thinking it might be a clash with the method 'is' defined in both
> MandatoryTypedField and TypeField, just to rule out this
> possibility, can you try this :
>
> on(table)(t => declare(t.column.~.is(indexed)))
>
> ?
>
> the .~ will force the implicit conversion to take precedence over the 'is'
> from the field
>
> Max
>
> 2011/1/12 Michael Gottschalk <
MGottsch...@gmx.net>
>
>
>
>
>
>
>
> > Hi Dave,
>
> > thanks for reporting the issue.
> > I have already reproduced this myself now and I'll try to fix it.
>
> > Can you open a ticket athttp://
ticket.liftweb.net(you must be a watcher