GithubHelp home page GithubHelp logo

mikey-t / db-migrations-dotnet Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19.01 MB

NuGet package to facilitate the use of dotnet ef tool and plain SQL for DB migrations.

License: MIT License

C# 87.89% TypeScript 12.11%

db-migrations-dotnet's Introduction

db-migrations-dotnet

The db-migrations-dotnet project provides a process for managing database migrations in any type of project using a simple C# console app and a thin wrapper around Microsoft's Entity Framework and plain SQL files.

In addition to documenting the process, this project provides a set of scripting tools and examples to streamline the process.

Project Goals

For a detailed list of project goals, see ./docs/ProjectGoals.md.

Documentation

Instructions for getting started: ./docs/GettingStarted.md.

Main documentation: ./docs/DbMigrationsDotnet.md.

Short video clips demoing each common DB migration task: ./docs/Demo.md.

Supported Databases

Currently supported databases:

  • PostgreSQL
  • SQL Server

This project can be extended to support any database that Entity Framework supports. For info on Entity Framework database support, see https://learn.microsoft.com/en-us/ef/core/providers/.

Roadmap

  • Additional unit testing. Coverlet is wired up and working and ready for more tests.
  • DbSetupCli integration testing. For each database type, spin up a docker container with fresh DB and run tests to exercise setup, teardown, list and bootstrap commands.
  • Add support for additional database types
  • Additional diagrams and documentation showing how each component of this architecture is composed together:
  • Create plan for how to support alternative methods of injecting connection string information into DbContext classes (instead of relying solely on .env files)

db-migrations-dotnet's People

Contributors

mikey-t avatar

Watchers

 avatar

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.