Thank you very very much! I kinda thought of that, but i don't recall
why i didn't try it out.. but i would've never gotten the idea of the
logger message ;)

On May 13, 5:27 am, Martin Gamsjaeger <[email protected]> wrote:
> Franz,
>
> Try what dm-is-remixable does in such a situation:
>
> http://is.gd/zmyc
>
> Since auto_upgrade! is a class method you should be fine to do
>
> class Zoo
>   include DataMapper::Resource
>   def self.auto_upgrade!(args = nil)
>     DataMapper.logger.warn("Skipping #{self.name}.auto_upgrade! for
> whatever reason")
>   end
> end
>
> Hope that helps
>
> cheers
> snusnu
>
>
>
> On Tue, May 12, 2009 at 23:35, fbettag <[email protected]> wrote:
>
> > Hey guys,
>
> > i've been playing around with dm-ldap-adapter all day, the problem is
> > that unless i remove my model, autoupgrade is failing.
> > Is there any way to "blacklist" repositories (named ldap in my case)
> > or models for migration?
>
> > Since i was looking into the code i found auto_upgrade methods which
> > can have repository_name supplied, thats where i got the idea of
> > blacklisting whole repositories.
>
> > Any advice would be helpful!
>
> > best regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to