ddd
This commit is contained in:
44
Migrations/20250807212423_mg3.cs
Normal file
44
Migrations/20250807212423_mg3.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace DugunSalonu.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class mg3 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_Kullanici",
|
||||
table: "Kullanici");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "Kullanici",
|
||||
newName: "kullanici");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_kullanici",
|
||||
table: "kullanici",
|
||||
column: "Id");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropPrimaryKey(
|
||||
name: "PK_kullanici",
|
||||
table: "kullanici");
|
||||
|
||||
migrationBuilder.RenameTable(
|
||||
name: "kullanici",
|
||||
newName: "Kullanici");
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_Kullanici",
|
||||
table: "Kullanici",
|
||||
column: "Id");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user