Changeset 9a57e89 for iknow-api/Migrations
- Timestamp:
- 10/21/25 17:21:47 (11 months ago)
- Branches:
- master
- Children:
- d025ba3
- Parents:
- 2859225
- Location:
- iknow-api/Migrations
- Files:
-
- 1 edited
- 2 moved
-
20251021141534_InitialCreate.Designer.cs (moved) (moved from iknow-api/Migrations/20251020130122_InitialCreate.Designer.cs ) (4 diffs)
-
20251021141534_InitialCreate.cs (moved) (moved from iknow-api/Migrations/20251020130122_InitialCreate.cs ) (3 diffs)
-
AppDbContextModelSnapshot.cs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Migrations/20251021141534_InitialCreate.Designer.cs
r2859225 r9a57e89 6 6 using Microsoft.EntityFrameworkCore.Storage.ValueConversion; 7 7 using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; 8 using iknow_api.Core.Data; 8 9 9 10 #nullable disable … … 12 13 { 13 14 [DbContext(typeof(AppDbContext))] 14 [Migration("2025102 0130122_InitialCreate")]15 [Migration("20251021141534_InitialCreate")] 15 16 partial class InitialCreate 16 17 { … … 25 26 NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); 26 27 27 modelBuilder.Entity("iknow_api. Models.Users", b =>28 modelBuilder.Entity("iknow_api.Core.Models.User", b => 28 29 { 29 30 b.Property<int>("Id") … … 59 60 b.HasKey("Id"); 60 61 61 b.ToTable("User s");62 b.ToTable("User"); 62 63 }); 63 64 #pragma warning restore 612, 618 -
iknow-api/Migrations/20251021141534_InitialCreate.cs
r2859225 r9a57e89 14 14 { 15 15 migrationBuilder.CreateTable( 16 name: "User s",16 name: "User", 17 17 columns: table => new 18 18 { … … 30 30 constraints: table => 31 31 { 32 table.PrimaryKey("PK_User s", x => x.Id);32 table.PrimaryKey("PK_User", x => x.Id); 33 33 }); 34 34 } … … 38 38 { 39 39 migrationBuilder.DropTable( 40 name: "User s");40 name: "User"); 41 41 } 42 42 } -
iknow-api/Migrations/AppDbContextModelSnapshot.cs
r2859225 r9a57e89 5 5 using Microsoft.EntityFrameworkCore.Storage.ValueConversion; 6 6 using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; 7 using iknow_api.Core.Data; 7 8 8 9 #nullable disable … … 22 23 NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); 23 24 24 modelBuilder.Entity("iknow_api. Models.Users", b =>25 modelBuilder.Entity("iknow_api.Core.Models.User", b => 25 26 { 26 27 b.Property<int>("Id") … … 56 57 b.HasKey("Id"); 57 58 58 b.ToTable("User s");59 b.ToTable("User"); 59 60 }); 60 61 #pragma warning restore 612, 618
Note:
See TracChangeset
for help on using the changeset viewer.
