[Lift] Re: [lift] static data

2010-01-31 Thread Channing Walton
That does look interesting - reminds me of liquibase but being in Scala is more useful. I was hoping there was a way to do this under lift's framework so that I can work with model objects. Your idea of using a run task may be the way. Would it make sense to have a hook in schemifier that is

[Lift] Re: [lift] static data

2010-01-31 Thread Channing Walton
Looking around MetaMapper and Schemifier, it looks like I could override BaseMetaMapper.afterSchemifier to do what i want although I would need to nominate a mapper to do this work (User would suffice). I'll try it... Timothy Perrett wrote: You could in theory have some run task that just

Re: [Lift] Re: [lift] static data

2010-01-31 Thread David Pollak
On Sun, Jan 31, 2010 at 12:17 PM, Channing Walton channingwal...@mac.comwrote: Looking around MetaMapper and Schemifier, it looks like I could override BaseMetaMapper.afterSchemifier to do what i want although I would need to nominate a mapper to do this work (User would suffice). The

Re: [Lift] Re: [lift] static data

2010-01-31 Thread Naftoli Gugenheim
If you only initialize the database all at once, why not just put the code in Boot? - Channing Waltonchanningwal...@mac.com wrote: Looking around MetaMapper and Schemifier, it looks like I could override BaseMetaMapper.afterSchemifier to do what i want

Re: [Lift] Re: [lift] static data

2010-01-31 Thread David Pollak
On Sun, Jan 31, 2010 at 12:54 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: If you only initialize the database all at once, why not just put the code in Boot? Because if the code's in Boot, it will be executed every time the code is run. - Channing

Re: [Lift] Re: [lift] static data

2010-01-31 Thread Naftoli Gugenheim
I thought there was an implicit in scope that said conditionally. :) - David Pollakfeeder.of.the.be...@gmail.com wrote: On Sun, Jan 31, 2010 at 12:54 PM, Naftoli Gugenheim naftoli...@gmail.comwrote: If you only initialize the database all at once, why not