reorg
This commit is contained in:
parent
d000f77098
commit
40e8e08690
3487 changed files with 39 additions and 21 deletions
4291
src/Yavsc.Org/Migrations/20260209000346_init.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209000346_init.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
3084
src/Yavsc.Org/Migrations/20260209000346_init.cs
Normal file
3084
src/Yavsc.Org/Migrations/20260209000346_init.cs
Normal file
File diff suppressed because it is too large
Load diff
4291
src/Yavsc.Org/Migrations/20260209001035_idResClams.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209001035_idResClams.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
78
src/Yavsc.Org/Migrations/20260209001035_idResClams.cs
Normal file
78
src/Yavsc.Org/Migrations/20260209001035_idResClams.cs
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class idResClams : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_IdentityResourceClaim_IdentityResources_IdentityResourceId",
|
||||
table: "IdentityResourceClaim");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_IdentityResourceClaim",
|
||||
table: "IdentityResourceClaim");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "IdentityResourceClaim",
|
||||
newName: "IdentityResourceClaims");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_IdentityResourceClaim_IdentityResourceId",
|
||||
table: "IdentityResourceClaims",
|
||||
newName: "IX_IdentityResourceClaims_IdentityResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_IdentityResourceClaims",
|
||||
table: "IdentityResourceClaims",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_IdentityResourceClaims_IdentityResources_IdentityResourceId",
|
||||
table: "IdentityResourceClaims",
|
||||
column: "IdentityResourceId",
|
||||
principalTable: "IdentityResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_IdentityResourceClaims_IdentityResources_IdentityResourceId",
|
||||
table: "IdentityResourceClaims");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_IdentityResourceClaims",
|
||||
table: "IdentityResourceClaims");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "IdentityResourceClaims",
|
||||
newName: "IdentityResourceClaim");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_IdentityResourceClaims_IdentityResourceId",
|
||||
table: "IdentityResourceClaim",
|
||||
newName: "IX_IdentityResourceClaim_IdentityResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_IdentityResourceClaim",
|
||||
table: "IdentityResourceClaim",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_IdentityResourceClaim_IdentityResources_IdentityResourceId",
|
||||
table: "IdentityResourceClaim",
|
||||
column: "IdentityResourceId",
|
||||
principalTable: "IdentityResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
||||
4291
src/Yavsc.Org/Migrations/20260209001325_IdentityResourceProperties.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209001325_IdentityResourceProperties.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class IdentityResourceProperties : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_IdentityResourceProperty_IdentityResources_IdentityResource~",
|
||||
table: "IdentityResourceProperty");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_IdentityResourceProperty",
|
||||
table: "IdentityResourceProperty");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "IdentityResourceProperty",
|
||||
newName: "IdentityResourceProperties");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_IdentityResourceProperty_IdentityResourceId",
|
||||
table: "IdentityResourceProperties",
|
||||
newName: "IX_IdentityResourceProperties_IdentityResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_IdentityResourceProperties",
|
||||
table: "IdentityResourceProperties",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_IdentityResourceProperties_IdentityResources_IdentityResour~",
|
||||
table: "IdentityResourceProperties",
|
||||
column: "IdentityResourceId",
|
||||
principalTable: "IdentityResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_IdentityResourceProperties_IdentityResources_IdentityResour~",
|
||||
table: "IdentityResourceProperties");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_IdentityResourceProperties",
|
||||
table: "IdentityResourceProperties");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "IdentityResourceProperties",
|
||||
newName: "IdentityResourceProperty");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_IdentityResourceProperties_IdentityResourceId",
|
||||
table: "IdentityResourceProperty",
|
||||
newName: "IX_IdentityResourceProperty_IdentityResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_IdentityResourceProperty",
|
||||
table: "IdentityResourceProperty",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_IdentityResourceProperty_IdentityResources_IdentityResource~",
|
||||
table: "IdentityResourceProperty",
|
||||
column: "IdentityResourceId",
|
||||
principalTable: "IdentityResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
||||
4291
src/Yavsc.Org/Migrations/20260209002713_ApiResourceSecrets.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209002713_ApiResourceSecrets.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ApiResourceSecrets : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiResourceSecret_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceSecret");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiResourceSecret",
|
||||
table: "ApiResourceSecret");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiResourceSecret",
|
||||
newName: "ApiResourceSecrets");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiResourceSecret_ApiResourceId",
|
||||
table: "ApiResourceSecrets",
|
||||
newName: "IX_ApiResourceSecrets_ApiResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiResourceSecrets",
|
||||
table: "ApiResourceSecrets",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiResourceSecrets_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceSecrets",
|
||||
column: "ApiResourceId",
|
||||
principalTable: "ApiResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiResourceSecrets_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceSecrets");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiResourceSecrets",
|
||||
table: "ApiResourceSecrets");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiResourceSecrets",
|
||||
newName: "ApiResourceSecret");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiResourceSecrets_ApiResourceId",
|
||||
table: "ApiResourceSecret",
|
||||
newName: "IX_ApiResourceSecret_ApiResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiResourceSecret",
|
||||
table: "ApiResourceSecret",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiResourceSecret_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceSecret",
|
||||
column: "ApiResourceId",
|
||||
principalTable: "ApiResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
||||
4291
src/Yavsc.Org/Migrations/20260209003236_ApiResourceScopes.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209003236_ApiResourceScopes.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
78
src/Yavsc.Org/Migrations/20260209003236_ApiResourceScopes.cs
Normal file
78
src/Yavsc.Org/Migrations/20260209003236_ApiResourceScopes.cs
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ApiResourceScopes : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiResourceScope_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceScope");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiResourceScope",
|
||||
table: "ApiResourceScope");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiResourceScope",
|
||||
newName: "ApiResourceScopes");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiResourceScope_ApiResourceId",
|
||||
table: "ApiResourceScopes",
|
||||
newName: "IX_ApiResourceScopes_ApiResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiResourceScopes",
|
||||
table: "ApiResourceScopes",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiResourceScopes_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceScopes",
|
||||
column: "ApiResourceId",
|
||||
principalTable: "ApiResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiResourceScopes_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceScopes");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiResourceScopes",
|
||||
table: "ApiResourceScopes");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiResourceScopes",
|
||||
newName: "ApiResourceScope");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiResourceScopes_ApiResourceId",
|
||||
table: "ApiResourceScope",
|
||||
newName: "IX_ApiResourceScope_ApiResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiResourceScope",
|
||||
table: "ApiResourceScope",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiResourceScope_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceScope",
|
||||
column: "ApiResourceId",
|
||||
principalTable: "ApiResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
||||
4291
src/Yavsc.Org/Migrations/20260209003532_ApiResourceClaims.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209003532_ApiResourceClaims.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
78
src/Yavsc.Org/Migrations/20260209003532_ApiResourceClaims.cs
Normal file
78
src/Yavsc.Org/Migrations/20260209003532_ApiResourceClaims.cs
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ApiResourceClaims : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiResourceClaim_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceClaim");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiResourceClaim",
|
||||
table: "ApiResourceClaim");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiResourceClaim",
|
||||
newName: "ApiResourceClaims");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiResourceClaim_ApiResourceId",
|
||||
table: "ApiResourceClaims",
|
||||
newName: "IX_ApiResourceClaims_ApiResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiResourceClaims",
|
||||
table: "ApiResourceClaims",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiResourceClaims_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceClaims",
|
||||
column: "ApiResourceId",
|
||||
principalTable: "ApiResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiResourceClaims_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceClaims");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiResourceClaims",
|
||||
table: "ApiResourceClaims");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiResourceClaims",
|
||||
newName: "ApiResourceClaim");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiResourceClaims_ApiResourceId",
|
||||
table: "ApiResourceClaim",
|
||||
newName: "IX_ApiResourceClaim_ApiResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiResourceClaim",
|
||||
table: "ApiResourceClaim",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiResourceClaim_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceClaim",
|
||||
column: "ApiResourceId",
|
||||
principalTable: "ApiResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
||||
4291
src/Yavsc.Org/Migrations/20260209003905_ApiResourceProperties.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209003905_ApiResourceProperties.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ApiResourceProperties : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiResourceProperty_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceProperty");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiResourceProperty",
|
||||
table: "ApiResourceProperty");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiResourceProperty",
|
||||
newName: "ApiResourceProperties");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiResourceProperty_ApiResourceId",
|
||||
table: "ApiResourceProperties",
|
||||
newName: "IX_ApiResourceProperties_ApiResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiResourceProperties",
|
||||
table: "ApiResourceProperties",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiResourceProperties_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceProperties",
|
||||
column: "ApiResourceId",
|
||||
principalTable: "ApiResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiResourceProperties_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceProperties");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiResourceProperties",
|
||||
table: "ApiResourceProperties");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiResourceProperties",
|
||||
newName: "ApiResourceProperty");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiResourceProperties_ApiResourceId",
|
||||
table: "ApiResourceProperty",
|
||||
newName: "IX_ApiResourceProperty_ApiResourceId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiResourceProperty",
|
||||
table: "ApiResourceProperty",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiResourceProperty_ApiResources_ApiResourceId",
|
||||
table: "ApiResourceProperty",
|
||||
column: "ApiResourceId",
|
||||
principalTable: "ApiResources",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
||||
4291
src/Yavsc.Org/Migrations/20260209004142_ApiScopeClaims.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209004142_ApiScopeClaims.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
78
src/Yavsc.Org/Migrations/20260209004142_ApiScopeClaims.cs
Normal file
78
src/Yavsc.Org/Migrations/20260209004142_ApiScopeClaims.cs
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ApiScopeClaims : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiScopeClaim_ApiScopes_ScopeId",
|
||||
table: "ApiScopeClaim");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiScopeClaim",
|
||||
table: "ApiScopeClaim");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiScopeClaim",
|
||||
newName: "ApiScopeClaims");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiScopeClaim_ScopeId",
|
||||
table: "ApiScopeClaims",
|
||||
newName: "IX_ApiScopeClaims_ScopeId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiScopeClaims",
|
||||
table: "ApiScopeClaims",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiScopeClaims_ApiScopes_ScopeId",
|
||||
table: "ApiScopeClaims",
|
||||
column: "ScopeId",
|
||||
principalTable: "ApiScopes",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiScopeClaims_ApiScopes_ScopeId",
|
||||
table: "ApiScopeClaims");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiScopeClaims",
|
||||
table: "ApiScopeClaims");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiScopeClaims",
|
||||
newName: "ApiScopeClaim");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiScopeClaims_ScopeId",
|
||||
table: "ApiScopeClaim",
|
||||
newName: "IX_ApiScopeClaim_ScopeId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiScopeClaim",
|
||||
table: "ApiScopeClaim",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiScopeClaim_ApiScopes_ScopeId",
|
||||
table: "ApiScopeClaim",
|
||||
column: "ScopeId",
|
||||
principalTable: "ApiScopes",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
||||
4291
src/Yavsc.Org/Migrations/20260209004538_ApiScopeProperties.Designer.cs
generated
Normal file
4291
src/Yavsc.Org/Migrations/20260209004538_ApiScopeProperties.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ApiScopeProperties : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiScopeProperty_ApiScopes_ScopeId",
|
||||
table: "ApiScopeProperty");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiScopeProperty",
|
||||
table: "ApiScopeProperty");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiScopeProperty",
|
||||
newName: "ApiScopeProperties");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiScopeProperty_ScopeId",
|
||||
table: "ApiScopeProperties",
|
||||
newName: "IX_ApiScopeProperties_ScopeId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiScopeProperties",
|
||||
table: "ApiScopeProperties",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiScopeProperties_ApiScopes_ScopeId",
|
||||
table: "ApiScopeProperties",
|
||||
column: "ScopeId",
|
||||
principalTable: "ApiScopes",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_ApiScopeProperties_ApiScopes_ScopeId",
|
||||
table: "ApiScopeProperties");
|
||||
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_ApiScopeProperties",
|
||||
table: "ApiScopeProperties");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "ApiScopeProperties",
|
||||
newName: "ApiScopeProperty");
|
||||
|
||||
migrationBuilder.RenameIndex(
|
||||
name: "IX_ApiScopeProperties_ScopeId",
|
||||
table: "ApiScopeProperty",
|
||||
newName: "IX_ApiScopeProperty_ScopeId");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_ApiScopeProperty",
|
||||
table: "ApiScopeProperty",
|
||||
column: "Id");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_ApiScopeProperty_ApiScopes_ScopeId",
|
||||
table: "ApiScopeProperty",
|
||||
column: "ScopeId",
|
||||
principalTable: "ApiScopes",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
}
|
||||
}
|
||||
4301
src/Yavsc.Org/Migrations/20260222202324_article.Designer.cs
generated
Normal file
4301
src/Yavsc.Org/Migrations/20260222202324_article.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
59
src/Yavsc.Org/Migrations/20260222202324_article.cs
Normal file
59
src/Yavsc.Org/Migrations/20260222202324_article.cs
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class article : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Content",
|
||||
table: "Comment",
|
||||
newName: "Article");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Content",
|
||||
table: "BlogSpot",
|
||||
newName: "Article");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_MusicalPreference_TendencyId",
|
||||
table: "MusicalPreference",
|
||||
column: "TendencyId");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_MusicalPreference_MusicalTendency_TendencyId",
|
||||
table: "MusicalPreference",
|
||||
column: "TendencyId",
|
||||
principalTable: "MusicalTendency",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_MusicalPreference_MusicalTendency_TendencyId",
|
||||
table: "MusicalPreference");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_MusicalPreference_TendencyId",
|
||||
table: "MusicalPreference");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Article",
|
||||
table: "Comment",
|
||||
newName: "Content");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Article",
|
||||
table: "BlogSpot",
|
||||
newName: "Content");
|
||||
}
|
||||
}
|
||||
}
|
||||
4298
src/Yavsc.Org/Migrations/ApplicationDbContextModelSnapshot.cs
Normal file
4298
src/Yavsc.Org/Migrations/ApplicationDbContextModelSnapshot.cs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue