build cli
This commit is contained in:
parent
b3d565b6d9
commit
5c046dfa88
34 changed files with 7153 additions and 1231 deletions
44
src/Yavsc.Server/Migrations/20250715211745_test.cs
Normal file
44
src/Yavsc.Server/Migrations/20250715211745_test.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class test : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_Applications",
|
||||
table: "Applications");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "Applications",
|
||||
newName: "Client");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_Client",
|
||||
table: "Client",
|
||||
column: "Id");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_Client",
|
||||
table: "Client");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "Client",
|
||||
newName: "Applications");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_Applications",
|
||||
table: "Applications",
|
||||
column: "Id");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue