29 lines
781 B
C#
29 lines
781 B
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
|||
|
|
#nullable disable
|
|||
|
|
|
|||
|
|
namespace FileShare_EFCore.Migrations.MySQL
|
|||
|
|
{
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
public partial class AddPlaybackPosition : Migration
|
|||
|
|
{
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.AddColumn<double>(
|
|||
|
|
name: "playback-position",
|
|||
|
|
table: "managed-file-record",
|
|||
|
|
type: "double",
|
|||
|
|
nullable: true);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "playback-position",
|
|||
|
|
table: "managed-file-record");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|