mirror of
https://github.com/jjbrunton/Convertarr.git
synced 2026-10-31 17:59:43 +00:00
Initial commit
This commit is contained in:
commit
4933035cd2
70 files changed
+3188
No files matched your search
@@ -0,0 +1,34 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Convertarr.Data.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AttributesWithLength : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<long>(
|
||||
name: "FileSize",
|
||||
table: "Files",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "TEXT");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "FileSize",
|
||||
table: "Files",
|
||||
type: "TEXT",
|
||||
nullable: false,
|
||||
oldClrType: typeof(long),
|
||||
oldType: "INTEGER");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user