GithubHelp home page GithubHelp logo

rebus-org / migr8 Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 6.0 5.64 MB

:seedling: Short'n'sweet SQL Server/PostgreSQL/MySQL schema migration library

License: MIT License

C# 97.51% Batchfile 2.12% TSQL 0.36%
c-sharp database migration-tool migrations sql sql-server

migr8's People

Contributors

caspertdk avatar ctrlenter avatar dariogriffo avatar kandersen82 avatar madstt avatar mookid8000 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

migr8's Issues

New hint: SQL command timeout

Abitrary hints can be added to migration classes

[Migration(4, "Do something")]
[Hint("no-transaction")]
class SomeMigration : ISqlMigration { ... }

or SQL scripts

-- Do something
-- hints: no-transaction;

...

which may/may not be picked up by the execution engine when migrating (in this case, disabling the use of a transaction around the migration).

A new hint should be added for setting the SQL command timeout. This would make it possible to have a pretty low SQL command timeout as default, and then one could increase the timeout for migrations known to take a long time to execute.

The hint should be specified as either

[Hint("sql-command-timeout: 00:30:00")]

on a migration class, or

-- hints: sql-command-timeout: 00:30:00

in an SQL script file.

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.