Updated Migrations
Updated Migrations to handle change of Int to Long (SQLite still uses integer field, but better safe if using something other then SQLite) Changed Primary Key for Video from VideoId to PlaylistItemId.
This commit is contained in:
parent
6970b792eb
commit
8e11008d58
5 changed files with 565 additions and 14 deletions
22
FreeTubeSync/Migrations/20250719172349_UpdateIntToLong.cs
Normal file
22
FreeTubeSync/Migrations/20250719172349_UpdateIntToLong.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FreeTubeSync.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class UpdateIntToLong : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue