source: iknow-api/Migrations/AppDbContextModelSnapshot.cs@ 618be76

Last change on this file since 618be76 was 618be76, checked in by imbrsk <boris696boris@…>, 11 months ago

Implement user management features with database integration

  • Property mode set to 100644
File size: 2.0 KB
Line 
1// <auto-generated />
2using System;
3using Microsoft.EntityFrameworkCore;
4using Microsoft.EntityFrameworkCore.Infrastructure;
5using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
6using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
7
8#nullable disable
9
10namespace iknow_api.Migrations
11{
12 [DbContext(typeof(AppDbContext))]
13 partial class AppDbContextModelSnapshot : ModelSnapshot
14 {
15 protected override void BuildModel(ModelBuilder modelBuilder)
16 {
17#pragma warning disable 612, 618
18 modelBuilder
19 .HasAnnotation("ProductVersion", "9.0.10")
20 .HasAnnotation("Relational:MaxIdentifierLength", 63);
21
22 NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
23
24 modelBuilder.Entity("iknow_api.Models.Users", b =>
25 {
26 b.Property<int>("Id")
27 .ValueGeneratedOnAdd()
28 .HasColumnType("integer");
29
30 NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
31
32 b.Property<DateTime>("Bday")
33 .HasColumnType("timestamp with time zone");
34
35 b.Property<DateTime>("CreatedAt")
36 .HasColumnType("timestamp with time zone");
37
38 b.Property<string>("Email")
39 .HasColumnType("text");
40
41 b.Property<string>("Index")
42 .HasColumnType("text");
43
44 b.Property<string>("Name")
45 .HasColumnType("text");
46
47 b.Property<string>("Password")
48 .HasColumnType("text");
49
50 b.Property<int>("Role")
51 .HasColumnType("integer");
52
53 b.Property<string>("Surname")
54 .HasColumnType("text");
55
56 b.HasKey("Id");
57
58 b.ToTable("Users");
59 });
60#pragma warning restore 612, 618
61 }
62 }
63}
Note: See TracBrowser for help on using the repository browser.