Changeset d025ba3 for iknow-api/Migrations
- Timestamp:
- 10/22/25 13:20:23 (11 months ago)
- Branches:
- master
- Children:
- 5b42c8d
- Parents:
- 5aa102d (diff), 9a57e89 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - 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
r5aa102d rd025ba3 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
r5aa102d rd025ba3 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
r5aa102d rd025ba3 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.
