On Tuesday, September 9, 2014 1:34:32 PM UTC-7, Wesley Staples wrote: > > Is there a way to get the current migration version or file name and > direction? the directions being up or down >
>From inside the migration file? The direction can be detected by seeing whether the up or down block is run, and __FILE__ would give you the filename. If that isn't what you meant, please be more specific. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
