Upload thumbnails to S3
This commit is contained in:
28
NostrStreamer/Migrations/20230801210018_Thumbnails.cs
Normal file
28
NostrStreamer/Migrations/20230801210018_Thumbnails.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace NostrStreamer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Thumbnails : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Recording",
|
||||
table: "Streams",
|
||||
newName: "Thumbnail");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Thumbnail",
|
||||
table: "Streams",
|
||||
newName: "Recording");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user