| | | 1 | | // <auto-generated /> |
| | | 2 | | using Elsa.Persistence.EFCore.Modules.Tenants; |
| | | 3 | | using Microsoft.EntityFrameworkCore; |
| | | 4 | | using Microsoft.EntityFrameworkCore.Infrastructure; |
| | | 5 | | using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
| | | 6 | | |
| | | 7 | | #nullable disable |
| | | 8 | | |
| | | 9 | | namespace Elsa.Persistence.EFCore.Sqlite.Migrations.Tenants |
| | | 10 | | { |
| | | 11 | | [DbContext(typeof(TenantsElsaDbContext))] |
| | | 12 | | partial class TenantsElsaDbContextModelSnapshot : ModelSnapshot |
| | | 13 | | { |
| | | 14 | | protected override void BuildModel(ModelBuilder modelBuilder) |
| | | 15 | | { |
| | | 16 | | #pragma warning disable 612, 618 |
| | 0 | 17 | | modelBuilder |
| | 0 | 18 | | .HasDefaultSchema("Elsa") |
| | 0 | 19 | | .HasAnnotation("ProductVersion", "8.0.12"); |
| | | 20 | | |
| | 0 | 21 | | modelBuilder.Entity("Elsa.Common.Multitenancy.Tenant", b => |
| | 0 | 22 | | { |
| | 0 | 23 | | b.Property<string>("Id") |
| | 0 | 24 | | .HasColumnType("TEXT"); |
| | 0 | 25 | | |
| | 0 | 26 | | b.Property<string>("Configuration") |
| | 0 | 27 | | .IsRequired() |
| | 0 | 28 | | .HasColumnType("TEXT"); |
| | 0 | 29 | | |
| | 0 | 30 | | b.Property<string>("Name") |
| | 0 | 31 | | .IsRequired() |
| | 0 | 32 | | .HasColumnType("TEXT"); |
| | 0 | 33 | | |
| | 0 | 34 | | b.Property<string>("TenantId") |
| | 0 | 35 | | .HasColumnType("TEXT"); |
| | 0 | 36 | | |
| | 0 | 37 | | b.HasKey("Id"); |
| | 0 | 38 | | |
| | 0 | 39 | | b.HasIndex("Name") |
| | 0 | 40 | | .HasDatabaseName("IX_Tenant_Name"); |
| | 0 | 41 | | |
| | 0 | 42 | | b.HasIndex("TenantId") |
| | 0 | 43 | | .HasDatabaseName("IX_Tenant_TenantId"); |
| | 0 | 44 | | |
| | 0 | 45 | | b.ToTable("Tenants", "Elsa"); |
| | 0 | 46 | | }); |
| | | 47 | | #pragma warning restore 612, 618 |
| | 0 | 48 | | } |
| | | 49 | | } |
| | | 50 | | } |