How do you get the current datbases version?

481 views
Skip to first unread message

cohowap

unread,
Feb 23, 2011, 12:36:17 PM2/23/11
to FluentMigrator Google Group
Hello,

Is there a way to get the version of the current database other than
creating my own database query? I want to be able to have
FluentMigrator tell me if the database needs migrations, as well as
what versions are available.

Basically, just whether or not the VersionInfo table exists, what data
is in there and what the available versions are.

Thanks.

cohowap

unread,
Feb 23, 2011, 1:01:14 PM2/23/11
to FluentMigrator Google Group
I have a temp work around, but want to know if there's something more
official. Right now I changed the TaskExecutor to make the Runner and
RunnerContext public.

public IMigrationVersionRunner Runner { get; private set; }
public IRunnerContext RunnerContext { get; private set; }

How do I get changes approved? This should be functionality already
there.

Josh Coffman

unread,
Feb 23, 2011, 5:15:09 PM2/23/11
to fluentmigrato...@googlegroups.com
Getting changes approved is fairly informal.. Just code the change, add test(s) for it, and send a pull request. If we have a question, one of us will follow up with you. For my part, seeing passing tests and a clear purpose for the change is most of what I look for.

Sean is the captain of the ship so he may look more carefully at design & style.

-j



--
You received this message because you are subscribed to the Google Groups "FluentMigrator Google Group" group.
To post to this group, send email to fluentmigrato...@googlegroups.com.
To unsubscribe from this group, send email to fluentmigrator-goog...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fluentmigrator-google-group?hl=en.


Reply all
Reply to author
Forward
0 new messages