Dave,
thanks alot man!
cheers
Tobias
> Dude... it's the magic of dbAddTable in the MetaMapper object:
>
> in object ToDo... add:
>
> override def dbAddTable = Full(populate _)
>
> private def populate {
> ToDo.create.().save
> }
>
> When Schemifier adds a table, it
Yeah, I though about that too, but I couln't find an appropriate place
in the code where to hook in.
> You can probably do that in you Lift Boot class after you DB
> connections are setup etc.
>
>
> Br's,
> Marius
>
> On Apr 15, 6:55 pm, Tobias Daub wrote:
>
>> Hi There,
>>
>> I wanna have
Dude... it's the magic of dbAddTable in the MetaMapper object:
in object ToDo... add:
override def dbAddTable = Full(populate _)
private def populate {
ToDo.create.().save
}
When Schemifier adds a table, it will invoke the function specified by
dbAddTable and that's
You can probably do that in you Lift Boot class after you DB
connections are setup etc.
Br's,
Marius
On Apr 15, 6:55 pm, Tobias Daub wrote:
> Hi There,
>
> I wanna have some kind of "standard" todo item, that should always be
> there (in the database). I Don't want to create that todo item man