jpoehls / dotnetmigrations

DotNetMigrations is a database migration framework that assists in managing and versioning database changes. It was originally designed as a straight port of the rails functionality located in the Ruby on Rails framework; however, has recently moved into a more open framework thanks to the power of the Managed Extensibility Framework.
Other
36 stars 10 forks source link
 _____        _   _   _      _   __  __ _                 _   _                 
|  __ \      | | | \ | |    | | |  \/  (_)               | | (_)                
| |  | | ___ | |_|  \| | ___| |_| \  / |_  __ _ _ __ __ _| |_ _  ___  _ __  ___ 
| |  | |/ _ \| __| . ` |/ _ \ __| |\/| | |/ _` | '__/ _` | __| |/ _ \| '_ \/ __|
| |__| | (_) | |_| |\  |  __/ |_| |  | | | (_| | | | (_| | |_| | (_) | | | \__ \
|_____/ \___/ \__|_| \_|\___|\__|_|  |_|_|\__, |_|  \__,_|\__|_|\___/|_| |_|___/
                                           __/ |                                
                                          |___/                                 

DotNetMigrations - http://github.com/jpoehls/dotnetmigrations

DotNetMigrations is a database migration framework that assists in managing and versioning database changes. It was originally designed as a straight port of the rails functionality located in the Ruby on Rails framework; however, it has since grown wings and taken its own path in several areas.

View our CI builds on the CodeBetter TeamCity server.

Available on NuGet at http://www.nuget.org/List/Packages/DotNetMigrations

Build prerequisites

Release checklist

  1. Make sure the $public_version number is correct in the .\build.ps1 script.
  2. Make sure the changelog is up-to-date in the .\readme.md file.
  3. Commit any changes up to this point.
  4. Tag the release in Git with git tag vX.Y.Z where X.Y.Z is the $public_version from the build script.
  5. Run .\build.bat.
  6. Add the hash of the tagged release from Git to the changelog entry for the release.
    Use this to get the hash: git log -n1 -r "vX.Y.Z" --pretty=%H
  7. Commit the changelog update.
  8. Look in the .\@artifacts folder for the goods.
  9. Run the .\@artifacts\PublishNuGetPackage.bat script to publish to the NuGet Gallery.
  10. Uploaded the zipped binaries from .\@artifacts to Github.
  11. Spread the word!

Contributors

git log --format='%aN' | sort -u

Changelog

License

Copyright (c) 2008-2011, Joshua Poehls
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

  * Redistributions of source code must retain the above copyright notice,
    this list of conditions and the following disclaimer.

  * Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.

  * Neither the name of DotNetMigrations nor the names of its contributors
    may be used to endorse or promote products derived from this software
    without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

==================================================================================
Portions of the source were taken from the Subtext project and are covered
under the following license. These portions also contain this license in the
header of their source code files.
==================================================================================

Copyright (c) 2005 - 2010, Phil Haack
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, 
are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice, 
    this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice, 
    this list of conditions and the following disclaimer in the documentation 
    and/or other materials provided with the distribution.
    * Neither the name of the Subtext nor the names of its contributors 
    may be used to endorse or promote products derived from this software 
    without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
OF THE POSSIBILITY OF SUCH DAMAGE.