< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Persistence.Postgres.Migrations.NLightningDbContextModelSnapshot
Assembly: NLightning.Infrastructure.Persistence.Postgres
File(s): /home/runner/work/NLightning/NLightning/src/NLightning.Infrastructure.Persistence.Postgres/Migrations/NLightningDbContextModelSnapshot.cs
Tag: 57_24045730253
Line coverage
0%
Covered lines: 0
Uncovered lines: 536
Coverable lines: 536
Total lines: 576
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
BuildModel(...)100%210%

File(s)

/home/runner/work/NLightning/NLightning/src/NLightning.Infrastructure.Persistence.Postgres/Migrations/NLightningDbContextModelSnapshot.cs

#LineLine coverage
 1// <auto-generated />
 2using System;
 3using Microsoft.EntityFrameworkCore;
 4using Microsoft.EntityFrameworkCore.Infrastructure;
 5using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 6using NLightning.Infrastructure.Persistence.Contexts;
 7using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
 8
 9#nullable disable
 10
 11namespace NLightning.Infrastructure.Persistence.Postgres.Migrations
 12{
 13    [DbContext(typeof(NLightningDbContext))]
 14    partial class NLightningDbContextModelSnapshot : ModelSnapshot
 15    {
 16        protected override void BuildModel(ModelBuilder modelBuilder)
 17        {
 18#pragma warning disable 612, 618
 019            modelBuilder
 020                .HasAnnotation("ProductVersion", "9.0.9")
 021                .HasAnnotation("Relational:MaxIdentifierLength", 63);
 22
 023            NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
 24
 025            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Bitcoin.BlockchainStateEntity", b =>
 026                {
 027                    b.Property<Guid>("Id")
 028                        .ValueGeneratedOnAdd()
 029                        .HasColumnType("uuid")
 030                        .HasColumnName("id");
 031
 032                    b.Property<DateTime>("LastProcessedAt")
 033                        .HasColumnType("timestamp with time zone")
 034                        .HasColumnName("last_processed_at");
 035
 036                    b.Property<byte[]>("LastProcessedBlockHash")
 037                        .IsRequired()
 038                        .HasColumnType("bytea")
 039                        .HasColumnName("last_processed_block_hash");
 040
 041                    b.Property<long>("LastProcessedHeight")
 042                        .HasColumnType("bigint")
 043                        .HasColumnName("last_processed_height");
 044
 045                    b.HasKey("Id")
 046                        .HasName("pk_blockchain_states");
 047
 048                    b.ToTable("blockchain_states", (string)null);
 049                });
 50
 051            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Bitcoin.UtxoEntity", b =>
 052                {
 053                    b.Property<byte[]>("TransactionId")
 054                        .HasColumnType("bytea")
 055                        .HasColumnName("transaction_id");
 056
 057                    b.Property<long>("Index")
 058                        .HasColumnType("bigint")
 059                        .HasColumnName("index");
 060
 061                    b.Property<long>("AddressIndex")
 062                        .HasColumnType("bigint")
 063                        .HasColumnName("address_index");
 064
 065                    b.Property<byte>("AddressType")
 066                        .HasColumnType("smallint")
 067                        .HasColumnName("address_type");
 068
 069                    b.Property<long>("AmountSats")
 070                        .HasColumnType("bigint")
 071                        .HasColumnName("amount_sats");
 072
 073                    b.Property<long>("BlockHeight")
 074                        .HasColumnType("bigint")
 075                        .HasColumnName("block_height");
 076
 077                    b.Property<bool>("IsAddressChange")
 078                        .HasColumnType("boolean")
 079                        .HasColumnName("is_address_change");
 080
 081                    b.Property<byte[]>("LockedToChannelId")
 082                        .HasColumnType("bytea")
 083                        .HasColumnName("locked_to_channel_id");
 084
 085                    b.Property<byte[]>("UsedInTransactionId")
 086                        .HasColumnType("bytea")
 087                        .HasColumnName("used_in_transaction_id");
 088
 089                    b.HasKey("TransactionId", "Index")
 090                        .HasName("pk_utxos");
 091
 092                    b.HasIndex("AddressType")
 093                        .HasDatabaseName("ix_utxos_address_type")
 094                        .HasAnnotation("Npgsql:CreatedConcurrently", true);
 095
 096                    b.HasIndex("LockedToChannelId")
 097                        .HasDatabaseName("ix_utxos_locked_to_channel_id")
 098                        .HasAnnotation("Npgsql:CreatedConcurrently", true);
 099
 0100                    b.HasIndex("UsedInTransactionId")
 0101                        .HasDatabaseName("ix_utxos_used_in_transaction_id")
 0102                        .HasAnnotation("Npgsql:CreatedConcurrently", true);
 0103
 0104                    b.HasIndex("AddressIndex", "IsAddressChange", "AddressType")
 0105                        .HasDatabaseName("ix_utxos_address_index_is_address_change_address_type")
 0106                        .HasAnnotation("Npgsql:CreatedConcurrently", true);
 0107
 0108                    b.ToTable("utxos", (string)null);
 0109                });
 110
 0111            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Bitcoin.WalletAddressEntity", b =>
 0112                {
 0113                    b.Property<long>("Index")
 0114                        .HasColumnType("bigint")
 0115                        .HasColumnName("index");
 0116
 0117                    b.Property<bool>("IsChange")
 0118                        .HasColumnType("boolean")
 0119                        .HasColumnName("is_change");
 0120
 0121                    b.Property<byte>("AddressType")
 0122                        .HasColumnType("smallint")
 0123                        .HasColumnName("address_type");
 0124
 0125                    b.Property<string>("Address")
 0126                        .IsRequired()
 0127                        .HasColumnType("text")
 0128                        .HasColumnName("address");
 0129
 0130                    b.HasKey("Index", "IsChange", "AddressType")
 0131                        .HasName("pk_wallet_addresses");
 0132
 0133                    b.ToTable("wallet_addresses", (string)null);
 0134                });
 135
 0136            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Bitcoin.WatchedTransactionEntity", b =>
 0137                {
 0138                    b.Property<byte[]>("TransactionId")
 0139                        .HasColumnType("bytea")
 0140                        .HasColumnName("transaction_id");
 0141
 0142                    b.Property<byte[]>("ChannelId")
 0143                        .IsRequired()
 0144                        .HasColumnType("bytea")
 0145                        .HasColumnName("channel_id");
 0146
 0147                    b.Property<DateTime?>("CompletedAt")
 0148                        .HasColumnType("timestamp with time zone")
 0149                        .HasColumnName("completed_at");
 0150
 0151                    b.Property<DateTime>("CreatedAt")
 0152                        .HasColumnType("timestamp with time zone")
 0153                        .HasColumnName("created_at");
 0154
 0155                    b.Property<long?>("FirstSeenAtHeight")
 0156                        .HasColumnType("bigint")
 0157                        .HasColumnName("first_seen_at_height");
 0158
 0159                    b.Property<long>("RequiredDepth")
 0160                        .HasColumnType("bigint")
 0161                        .HasColumnName("required_depth");
 0162
 0163                    b.Property<int?>("TransactionIndex")
 0164                        .HasColumnType("integer")
 0165                        .HasColumnName("transaction_index");
 0166
 0167                    b.HasKey("TransactionId")
 0168                        .HasName("pk_watched_transactions");
 0169
 0170                    b.HasIndex("ChannelId")
 0171                        .HasDatabaseName("ix_watched_transactions_channel_id");
 0172
 0173                    b.ToTable("watched_transactions", (string)null);
 0174                });
 175
 0176            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelConfigEntity", b =>
 0177                {
 0178                    b.Property<byte[]>("ChannelId")
 0179                        .HasColumnType("bytea")
 0180                        .HasColumnName("channel_id");
 0181
 0182                    b.Property<long?>("ChannelReserveAmountSats")
 0183                        .HasColumnType("bigint")
 0184                        .HasColumnName("channel_reserve_amount_sats");
 0185
 0186                    b.Property<long>("FeeRatePerKwSatoshis")
 0187                        .HasColumnType("bigint")
 0188                        .HasColumnName("fee_rate_per_kw_satoshis");
 0189
 0190                    b.Property<decimal>("HtlcMinimumMsat")
 0191                        .HasColumnType("numeric(20,0)")
 0192                        .HasColumnName("htlc_minimum_msat");
 0193
 0194                    b.Property<long>("LocalDustLimitAmountSats")
 0195                        .HasColumnType("bigint")
 0196                        .HasColumnName("local_dust_limit_amount_sats");
 0197
 0198                    b.Property<byte[]>("LocalUpfrontShutdownScript")
 0199                        .HasColumnType("bytea")
 0200                        .HasColumnName("local_upfront_shutdown_script");
 0201
 0202                    b.Property<int>("MaxAcceptedHtlcs")
 0203                        .HasColumnType("integer")
 0204                        .HasColumnName("max_accepted_htlcs");
 0205
 0206                    b.Property<decimal>("MaxHtlcAmountInFlight")
 0207                        .HasColumnType("numeric(20,0)")
 0208                        .HasColumnName("max_htlc_amount_in_flight");
 0209
 0210                    b.Property<long>("MinimumDepth")
 0211                        .HasColumnType("bigint")
 0212                        .HasColumnName("minimum_depth");
 0213
 0214                    b.Property<bool>("OptionAnchorOutputs")
 0215                        .HasColumnType("boolean")
 0216                        .HasColumnName("option_anchor_outputs");
 0217
 0218                    b.Property<long>("RemoteDustLimitAmountSats")
 0219                        .HasColumnType("bigint")
 0220                        .HasColumnName("remote_dust_limit_amount_sats");
 0221
 0222                    b.Property<byte[]>("RemoteUpfrontShutdownScript")
 0223                        .HasColumnType("bytea")
 0224                        .HasColumnName("remote_upfront_shutdown_script");
 0225
 0226                    b.Property<int>("ToSelfDelay")
 0227                        .HasColumnType("integer")
 0228                        .HasColumnName("to_self_delay");
 0229
 0230                    b.Property<byte>("UseScidAlias")
 0231                        .HasColumnType("smallint")
 0232                        .HasColumnName("use_scid_alias");
 0233
 0234                    b.HasKey("ChannelId")
 0235                        .HasName("pk_channel_configs");
 0236
 0237                    b.ToTable("channel_configs", (string)null);
 0238                });
 239
 0240            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelEntity", b =>
 0241                {
 0242                    b.Property<byte[]>("ChannelId")
 0243                        .HasColumnType("bytea")
 0244                        .HasColumnName("channel_id");
 0245
 0246                    b.Property<byte?>("ChangeAddressAddressType")
 0247                        .HasColumnType("smallint")
 0248                        .HasColumnName("change_address_address_type");
 0249
 0250                    b.Property<long?>("ChangeAddressIndex")
 0251                        .HasColumnType("bigint")
 0252                        .HasColumnName("change_address_index");
 0253
 0254                    b.Property<bool?>("ChangeAddressIsChange")
 0255                        .HasColumnType("boolean")
 0256                        .HasColumnName("change_address_is_change");
 0257
 0258                    b.Property<byte?>("ChangeAddressType")
 0259                        .HasColumnType("smallint")
 0260                        .HasColumnName("change_address_type");
 0261
 0262                    b.Property<long>("FundingAmountSatoshis")
 0263                        .HasColumnType("bigint")
 0264                        .HasColumnName("funding_amount_satoshis");
 0265
 0266                    b.Property<long>("FundingCreatedAtBlockHeight")
 0267                        .HasColumnType("bigint")
 0268                        .HasColumnName("funding_created_at_block_height");
 0269
 0270                    b.Property<int>("FundingOutputIndex")
 0271                        .HasColumnType("integer")
 0272                        .HasColumnName("funding_output_index");
 0273
 0274                    b.Property<byte[]>("FundingTxId")
 0275                        .IsRequired()
 0276                        .HasColumnType("bytea")
 0277                        .HasColumnName("funding_tx_id");
 0278
 0279                    b.Property<bool>("IsInitiator")
 0280                        .HasColumnType("boolean")
 0281                        .HasColumnName("is_initiator");
 0282
 0283                    b.Property<byte[]>("LastReceivedSignature")
 0284                        .HasColumnType("bytea")
 0285                        .HasColumnName("last_received_signature");
 0286
 0287                    b.Property<byte[]>("LastSentSignature")
 0288                        .HasColumnType("bytea")
 0289                        .HasColumnName("last_sent_signature");
 0290
 0291                    b.Property<decimal>("LocalBalanceSatoshis")
 0292                        .HasColumnType("numeric")
 0293                        .HasColumnName("local_balance_satoshis");
 0294
 0295                    b.Property<decimal>("LocalNextHtlcId")
 0296                        .HasColumnType("numeric(20,0)")
 0297                        .HasColumnName("local_next_htlc_id");
 0298
 0299                    b.Property<decimal>("LocalRevocationNumber")
 0300                        .HasColumnType("numeric(20,0)")
 0301                        .HasColumnName("local_revocation_number");
 0302
 0303                    b.Property<byte[]>("PeerEntityNodeId")
 0304                        .HasColumnType("bytea")
 0305                        .HasColumnName("peer_entity_node_id");
 0306
 0307                    b.Property<decimal>("RemoteBalanceSatoshis")
 0308                        .HasColumnType("numeric")
 0309                        .HasColumnName("remote_balance_satoshis");
 0310
 0311                    b.Property<decimal>("RemoteNextHtlcId")
 0312                        .HasColumnType("numeric(20,0)")
 0313                        .HasColumnName("remote_next_htlc_id");
 0314
 0315                    b.Property<byte[]>("RemoteNodeId")
 0316                        .IsRequired()
 0317                        .HasColumnType("bytea")
 0318                        .HasColumnName("remote_node_id");
 0319
 0320                    b.Property<decimal>("RemoteRevocationNumber")
 0321                        .HasColumnType("numeric(20,0)")
 0322                        .HasColumnName("remote_revocation_number");
 0323
 0324                    b.Property<byte>("State")
 0325                        .HasColumnType("smallint")
 0326                        .HasColumnName("state");
 0327
 0328                    b.Property<byte>("Version")
 0329                        .HasColumnType("smallint")
 0330                        .HasColumnName("version");
 0331
 0332                    b.HasKey("ChannelId")
 0333                        .HasName("pk_channels");
 0334
 0335                    b.HasIndex("PeerEntityNodeId")
 0336                        .HasDatabaseName("ix_channels_peer_entity_node_id");
 0337
 0338                    b.HasIndex("ChangeAddressIndex", "ChangeAddressIsChange", "ChangeAddressAddressType")
 0339                        .HasDatabaseName("ix_channels_change_address_index_change_address_is_change_chan");
 0340
 0341                    b.ToTable("channels", (string)null);
 0342                });
 343
 0344            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelKeySetEntity", b =>
 0345                {
 0346                    b.Property<byte[]>("ChannelId")
 0347                        .HasColumnType("bytea")
 0348                        .HasColumnName("channel_id");
 0349
 0350                    b.Property<bool>("IsLocal")
 0351                        .HasColumnType("boolean")
 0352                        .HasColumnName("is_local");
 0353
 0354                    b.Property<decimal>("CurrentPerCommitmentIndex")
 0355                        .HasColumnType("numeric(20,0)")
 0356                        .HasColumnName("current_per_commitment_index");
 0357
 0358                    b.Property<byte[]>("CurrentPerCommitmentPoint")
 0359                        .IsRequired()
 0360                        .HasColumnType("bytea")
 0361                        .HasColumnName("current_per_commitment_point");
 0362
 0363                    b.Property<byte[]>("DelayedPaymentBasepoint")
 0364                        .IsRequired()
 0365                        .HasColumnType("bytea")
 0366                        .HasColumnName("delayed_payment_basepoint");
 0367
 0368                    b.Property<byte[]>("FundingPubKey")
 0369                        .IsRequired()
 0370                        .HasColumnType("bytea")
 0371                        .HasColumnName("funding_pub_key");
 0372
 0373                    b.Property<byte[]>("HtlcBasepoint")
 0374                        .IsRequired()
 0375                        .HasColumnType("bytea")
 0376                        .HasColumnName("htlc_basepoint");
 0377
 0378                    b.Property<long>("KeyIndex")
 0379                        .HasColumnType("bigint")
 0380                        .HasColumnName("key_index");
 0381
 0382                    b.Property<byte[]>("LastRevealedPerCommitmentSecret")
 0383                        .HasColumnType("bytea")
 0384                        .HasColumnName("last_revealed_per_commitment_secret");
 0385
 0386                    b.Property<byte[]>("PaymentBasepoint")
 0387                        .IsRequired()
 0388                        .HasColumnType("bytea")
 0389                        .HasColumnName("payment_basepoint");
 0390
 0391                    b.Property<byte[]>("RevocationBasepoint")
 0392                        .IsRequired()
 0393                        .HasColumnType("bytea")
 0394                        .HasColumnName("revocation_basepoint");
 0395
 0396                    b.HasKey("ChannelId", "IsLocal")
 0397                        .HasName("pk_channel_key_sets");
 0398
 0399                    b.ToTable("channel_key_sets", (string)null);
 0400                });
 401
 0402            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.HtlcEntity", b =>
 0403                {
 0404                    b.Property<byte[]>("ChannelId")
 0405                        .HasColumnType("bytea")
 0406                        .HasColumnName("channel_id");
 0407
 0408                    b.Property<decimal>("HtlcId")
 0409                        .HasColumnType("numeric(20,0)")
 0410                        .HasColumnName("htlc_id");
 0411
 0412                    b.Property<byte>("Direction")
 0413                        .HasColumnType("smallint")
 0414                        .HasColumnName("direction");
 0415
 0416                    b.Property<byte[]>("AddMessageBytes")
 0417                        .IsRequired()
 0418                        .HasColumnType("bytea")
 0419                        .HasColumnName("add_message_bytes");
 0420
 0421                    b.Property<decimal>("AmountMsat")
 0422                        .HasColumnType("numeric(20,0)")
 0423                        .HasColumnName("amount_msat");
 0424
 0425                    b.Property<long>("CltvExpiry")
 0426                        .HasColumnType("bigint")
 0427                        .HasColumnName("cltv_expiry");
 0428
 0429                    b.Property<decimal>("ObscuredCommitmentNumber")
 0430                        .HasColumnType("numeric(20,0)")
 0431                        .HasColumnName("obscured_commitment_number");
 0432
 0433                    b.Property<byte[]>("PaymentHash")
 0434                        .IsRequired()
 0435                        .HasColumnType("bytea")
 0436                        .HasColumnName("payment_hash");
 0437
 0438                    b.Property<byte[]>("PaymentPreimage")
 0439                        .HasColumnType("bytea")
 0440                        .HasColumnName("payment_preimage");
 0441
 0442                    b.Property<byte[]>("Signature")
 0443                        .HasColumnType("bytea")
 0444                        .HasColumnName("signature");
 0445
 0446                    b.Property<byte>("State")
 0447                        .HasColumnType("smallint")
 0448                        .HasColumnName("state");
 0449
 0450                    b.HasKey("ChannelId", "HtlcId", "Direction")
 0451                        .HasName("pk_htlcs");
 0452
 0453                    b.ToTable("htlcs", (string)null);
 0454                });
 455
 0456            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Node.PeerEntity", b =>
 0457                {
 0458                    b.Property<byte[]>("NodeId")
 0459                        .HasColumnType("bytea")
 0460                        .HasColumnName("node_id");
 0461
 0462                    b.Property<string>("Host")
 0463                        .IsRequired()
 0464                        .HasColumnType("text")
 0465                        .HasColumnName("host");
 0466
 0467                    b.Property<DateTime>("LastSeenAt")
 0468                        .HasColumnType("timestamp with time zone")
 0469                        .HasColumnName("last_seen_at");
 0470
 0471                    b.Property<long>("Port")
 0472                        .HasColumnType("bigint")
 0473                        .HasColumnName("port");
 0474
 0475                    b.Property<string>("Type")
 0476                        .IsRequired()
 0477                        .HasColumnType("text")
 0478                        .HasColumnName("type");
 0479
 0480                    b.HasKey("NodeId")
 0481                        .HasName("pk_peers");
 0482
 0483                    b.ToTable("peers", (string)null);
 0484                });
 485
 0486            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Bitcoin.UtxoEntity", b =>
 0487                {
 0488                    b.HasOne("NLightning.Infrastructure.Persistence.Entities.Bitcoin.WalletAddressEntity", "WalletAddres
 0489                        .WithMany("Utxos")
 0490                        .HasForeignKey("AddressIndex", "IsAddressChange", "AddressType")
 0491                        .OnDelete(DeleteBehavior.Cascade)
 0492                        .IsRequired()
 0493                        .HasConstraintName("fk_utxos_wallet_addresses_address_index_is_address_change_addr");
 0494
 0495                    b.Navigation("WalletAddress");
 0496                });
 497
 0498            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Bitcoin.WatchedTransactionEntity", b =>
 0499                {
 0500                    b.HasOne("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelEntity", null)
 0501                        .WithMany("WatchedTransactions")
 0502                        .HasForeignKey("ChannelId")
 0503                        .OnDelete(DeleteBehavior.Cascade)
 0504                        .IsRequired()
 0505                        .HasConstraintName("fk_watched_transactions_channels_channel_id");
 0506                });
 507
 0508            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelConfigEntity", b =>
 0509                {
 0510                    b.HasOne("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelEntity", null)
 0511                        .WithOne("Config")
 0512                        .HasForeignKey("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelConfigEntity", "Ch
 0513                        .OnDelete(DeleteBehavior.Cascade)
 0514                        .IsRequired()
 0515                        .HasConstraintName("fk_channel_configs_channels_channel_id");
 0516                });
 517
 0518            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelEntity", b =>
 0519                {
 0520                    b.HasOne("NLightning.Infrastructure.Persistence.Entities.Node.PeerEntity", null)
 0521                        .WithMany("Channels")
 0522                        .HasForeignKey("PeerEntityNodeId")
 0523                        .HasConstraintName("fk_channels_peers_peer_entity_node_id");
 0524
 0525                    b.HasOne("NLightning.Infrastructure.Persistence.Entities.Bitcoin.WalletAddressEntity", "ChangeAddres
 0526                        .WithMany()
 0527                        .HasForeignKey("ChangeAddressIndex", "ChangeAddressIsChange", "ChangeAddressAddressType")
 0528                        .HasConstraintName("fk_channels_wallet_addresses_change_address_index_change_addre");
 0529
 0530                    b.Navigation("ChangeAddress");
 0531                });
 532
 0533            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelKeySetEntity", b =>
 0534                {
 0535                    b.HasOne("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelEntity", null)
 0536                        .WithMany("KeySets")
 0537                        .HasForeignKey("ChannelId")
 0538                        .OnDelete(DeleteBehavior.Cascade)
 0539                        .IsRequired()
 0540                        .HasConstraintName("fk_channel_key_sets_channels_channel_id");
 0541                });
 542
 0543            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.HtlcEntity", b =>
 0544                {
 0545                    b.HasOne("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelEntity", null)
 0546                        .WithMany("Htlcs")
 0547                        .HasForeignKey("ChannelId")
 0548                        .OnDelete(DeleteBehavior.Cascade)
 0549                        .IsRequired()
 0550                        .HasConstraintName("fk_htlcs_channels_channel_id");
 0551                });
 552
 0553            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Bitcoin.WalletAddressEntity", b =>
 0554                {
 0555                    b.Navigation("Utxos");
 0556                });
 557
 0558            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Channel.ChannelEntity", b =>
 0559                {
 0560                    b.Navigation("Config");
 0561
 0562                    b.Navigation("Htlcs");
 0563
 0564                    b.Navigation("KeySets");
 0565
 0566                    b.Navigation("WatchedTransactions");
 0567                });
 568
 0569            modelBuilder.Entity("NLightning.Infrastructure.Persistence.Entities.Node.PeerEntity", b =>
 0570                {
 0571                    b.Navigation("Channels");
 0572                });
 573#pragma warning restore 612, 618
 0574        }
 575    }
 576}