add mysql database provider (#1375)
* refactor sqlite into separate library * support mysql * fixes * sql fixes * cleanup * update changelog
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
||||
{
|
||||
public partial class Add_ChannelWatermarkImageSource : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "ImageSource",
|
||||
table: "ChannelWatermark",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ImageSource",
|
||||
table: "ChannelWatermark");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user