Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kcartlidge/migratable.mysqlprovider
Database provider for kcartlidge/migratable adding support for MySql/MariaDB.
https://github.com/kcartlidge/migratable.mysqlprovider
core database dotnet migrations nuget
Last synced: about 2 months ago
JSON representation
Database provider for kcartlidge/migratable adding support for MySql/MariaDB.
- Host: GitHub
- URL: https://github.com/kcartlidge/migratable.mysqlprovider
- Owner: kcartlidge
- License: mit
- Created: 2018-05-20T06:55:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-27T20:50:11.000Z (about 2 years ago)
- Last Synced: 2024-11-22T06:19:20.042Z (2 months ago)
- Topics: core, database, dotnet, migrations, nuget
- Language: C#
- Size: 11.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Migratable.MySqlProvider
Database provider for https://www.nuget.org/packages/Migratable to add support for *MySql*/*MariaDB*.
## Installation
Both this provider and the main Migratable are on Nuget.
## Usage
See https://www.nuget.org/packages/Migratable for details.
``` cs
var provider = new Migratable.Providers.MySqlProvider("connection-string");
var migrator = new Migratable.Migrator(provider);
migrator.LoadMigrations("./migrations");
migrator.SetVersion(5);
```---
## MIT Licence
Copyright (c) 2023 K Cartlidge.
See `LICENCE` file for details.