Code Monkey home page Code Monkey logo

fluentmigrator.runner.cli's Introduction

Português

Arquiteto e desenvolvedor, agilista, escalador, provocador. É fundador e CSA da Lambda3. Programa porque gosta. Acredita que pessoas autogerenciadas funcionam melhor e por acreditar que heterarquia é mais eficiente que hierarquia. Foi reconhecido Microsoft MVP há mais de dez anos, dos mais de vinte que atua no mercado. Já palestrou sobre .NET, microsserviços, Ruby, Node.js, Frontend e Backend, Agile, etc, no Brasil, e no exterior. Lidera alguns grupos de usuários, como o Brasil .NET, e o .NET Architects.

Você me encontra no Twitter em @giovannibassi.

Outras formas de me contatar podem ser encontradas em https://links.giggio.net/bio.

Se quiser trabalhar comigo, dê uma olhada em https://vagas.lambda3.com.br

English

Software architect and developer, agilist, rock climber. Giovanni is founder and Chief Software Architect of Lambda3 in Brazil. He is passionate about software development, and he believes self managed teams are more efficient and productive than outside managed ones. He was awarded as a Microsoft MVP more than ten years ago, and has 20+ years or experience developing software. He has spoken around the world on conferences, user groups and online about .NET, microservices, JavaScript, Ruby, Node.js, frontend and backend development, agile development and many other topics. He leads some user groups in Brazil on topics such as .NET, and Docker.

You can find me on Twitter at @giovannibassi.

Other ways to contact me can be found at https://links.giggio.net/bio.

Giovanni Bassi's github stats

Top Backend Langs

Top Frontend Langs

fluentmigrator.runner.cli's People

Contributors

giggio avatar ircnelson avatar lenardg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fluentmigrator.runner.cli's Issues

Doesnt work for DNX Rc1

using the global command

fm --connectionString "Data Source=(local);User ID=***;Password=***;Initial Catalog=***;MultipleActiveResultSets=True;" --provider sqlserver2012

results in the following error

System.NullReferenceException: Object reference not set to an instance of an object.
   at FluentMigrator.Runner.DNX.Program.Main(String[] args)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Dnx.Runtime.Common.EntryPointExecutor.Execute(Assembly assembly, String[] args, IServiceProvider serviceProvider)
   at Microsoft.Dnx.ApplicationHost.Program.<>c__DisplayClass3_0.<ExecuteMain>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Get Configuration From Startup Class

It would be great if the integrated command line runner could grab the configuration from the Startup class like the EF migration tool does (or rather is supposed to - because it's still not fixed as of beta5).

The EF runner commands have options to specify a DbContext class and the startup project name. From there it's supposed to essentially initialize the Startup class to build the configuration and service dependencies, which in turn should configure the runner.

Some way to point the FM runner to a configured connection string would be ideal.

`migrate`

Isn't the keyword to use this CLI extension clashing with dotnet CLI's own migrate , which migrates from project.json to new msbuild / csproj? What happens when using it with the latest CLIs which will have that keyword?

Documentation for dotnet migrate

Maybe make it similar to how EF does it? dotnet ef migrate ..? So for instance: dotnet fluent migrate ?

Migrations not running

I've just tried this and it doesn't work. The project compiles just fine, but it doesn't seem that the migrations are actually being run. --verbose outputs nothing.

I've tried both dotnet migrate --provider mysql --noConnection --outputFile test.sql and dotnet migrate --provider mysql --connectionString [string]

I've followed the instructions in the top-level README.md, and used the migration in test/ as a sample migration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.