| | 1 | | // <auto-generated /> |
| | 2 | | using Microsoft.EntityFrameworkCore; |
| | 3 | | using Microsoft.EntityFrameworkCore.Infrastructure; |
| | 4 | | using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
| | 5 | | using NLightning.Models; |
| | 6 | | using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; |
| | 7 | |
|
| | 8 | | #nullable disable |
| | 9 | |
|
| | 10 | | namespace NLightning.Models.Postgres.Migrations |
| | 11 | | { |
| | 12 | | [DbContext(typeof(NLightningContext))] |
| | 13 | | partial class NLightningContextModelSnapshot : ModelSnapshot |
| | 14 | | { |
| | 15 | | protected override void BuildModel(ModelBuilder modelBuilder) |
| | 16 | | { |
| | 17 | | #pragma warning disable 612, 618 |
| 0 | 18 | | modelBuilder |
| 0 | 19 | | .HasAnnotation("ProductVersion", "8.0.3") |
| 0 | 20 | | .HasAnnotation("Relational:MaxIdentifierLength", 63); |
| | 21 | |
|
| 0 | 22 | | NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); |
| | 23 | |
|
| 0 | 24 | | modelBuilder.Entity("NLightning.Models.NLightningContext+Node", b => |
| 0 | 25 | | { |
| 0 | 26 | | b.Property<long>("Id") |
| 0 | 27 | | .ValueGeneratedOnAdd() |
| 0 | 28 | | .HasColumnType("bigint") |
| 0 | 29 | | .HasColumnName("id"); |
| 0 | 30 | |
|
| 0 | 31 | | NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id")); |
| 0 | 32 | |
|
| 0 | 33 | | b.HasKey("Id") |
| 0 | 34 | | .HasName("pk_nodes"); |
| 0 | 35 | |
|
| 0 | 36 | | b.ToTable("nodes", (string)null); |
| 0 | 37 | | }); |
| | 38 | | #pragma warning restore 612, 618 |
| 0 | 39 | | } |
| | 40 | | } |
| | 41 | | } |