|
| 1 | +// <auto-generated /> |
| 2 | +using System; |
| 3 | +using MassTransit.PostgresOutbox.Demo.Consumer.Contexts; |
| 4 | +using Microsoft.EntityFrameworkCore; |
| 5 | +using Microsoft.EntityFrameworkCore.Infrastructure; |
| 6 | +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
| 7 | +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; |
| 8 | + |
| 9 | +#nullable disable |
| 10 | + |
| 11 | +namespace MassTransit.PostgresOutbox.Demo.Consumer.Context.Migrations |
| 12 | +{ |
| 13 | + [DbContext(typeof(ConsumerContext))] |
| 14 | + partial class ConsumerContextModelSnapshot : ModelSnapshot |
| 15 | + { |
| 16 | + protected override void BuildModel(ModelBuilder modelBuilder) |
| 17 | + { |
| 18 | +#pragma warning disable 612, 618 |
| 19 | + modelBuilder |
| 20 | + .HasAnnotation("ProductVersion", "9.0.0") |
| 21 | + .HasAnnotation("Relational:MaxIdentifierLength", 63); |
| 22 | + |
| 23 | + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); |
| 24 | + |
| 25 | + modelBuilder.Entity("MassTransit.PostgresOutbox.Entities.InboxMessage", b => |
| 26 | + { |
| 27 | + b.Property<Guid>("MessageId") |
| 28 | + .HasColumnType("uuid"); |
| 29 | + |
| 30 | + b.Property<string>("ConsumerId") |
| 31 | + .HasColumnType("text"); |
| 32 | + |
| 33 | + b.Property<DateTime>("CreatedAt") |
| 34 | + .HasColumnType("timestamp with time zone"); |
| 35 | + |
| 36 | + b.Property<int>("State") |
| 37 | + .HasColumnType("integer"); |
| 38 | + |
| 39 | + b.Property<DateTime?>("UpdatedAt") |
| 40 | + .HasColumnType("timestamp with time zone"); |
| 41 | + |
| 42 | + b.HasKey("MessageId", "ConsumerId"); |
| 43 | + |
| 44 | + b.ToTable("InboxMessages"); |
| 45 | + }); |
| 46 | + |
| 47 | + modelBuilder.Entity("MassTransit.PostgresOutbox.Entities.OutboxMessage", b => |
| 48 | + { |
| 49 | + b.Property<Guid>("Id") |
| 50 | + .HasColumnType("uuid"); |
| 51 | + |
| 52 | + b.Property<DateTime>("CreatedAt") |
| 53 | + .HasColumnType("timestamp with time zone"); |
| 54 | + |
| 55 | + b.Property<string>("Payload") |
| 56 | + .IsRequired() |
| 57 | + .HasColumnType("text"); |
| 58 | + |
| 59 | + b.Property<int>("State") |
| 60 | + .HasColumnType("integer"); |
| 61 | + |
| 62 | + b.Property<string>("Type") |
| 63 | + .IsRequired() |
| 64 | + .HasColumnType("text"); |
| 65 | + |
| 66 | + b.Property<DateTime?>("UpdatedAt") |
| 67 | + .HasColumnType("timestamp with time zone"); |
| 68 | + |
| 69 | + b.HasKey("Id"); |
| 70 | + |
| 71 | + b.ToTable("OutboxMessages"); |
| 72 | + }); |
| 73 | +#pragma warning restore 612, 618 |
| 74 | + } |
| 75 | + } |
| 76 | +} |
0 commit comments