diff options
| author | Paweł Bernaciak <pawelbernaciak@zohomail.eu> | 2023-12-29 09:41:56 +0100 |
|---|---|---|
| committer | Paweł Bernaciak <pawelbernaciak@zohomail.eu> | 2023-12-29 09:41:56 +0100 |
| commit | 79f5eaf40b93d64be74d8b4f1ef80d19fadbfbe1 (patch) | |
| tree | ddf121e78bdd50673379b223abfdb448c4f81291 /CoreWiki/Migrations/20231222134125_Initial.Designer.cs | |
| parent | 1a96616699ab41bf6343bc1acc45a836c3e6caf3 (diff) | |
Diffstat (limited to 'CoreWiki/Migrations/20231222134125_Initial.Designer.cs')
| -rw-r--r-- | CoreWiki/Migrations/20231222134125_Initial.Designer.cs | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/CoreWiki/Migrations/20231222134125_Initial.Designer.cs b/CoreWiki/Migrations/20231222134125_Initial.Designer.cs deleted file mode 100644 index 8c6556e..0000000 --- a/CoreWiki/Migrations/20231222134125_Initial.Designer.cs +++ /dev/null @@ -1,57 +0,0 @@ -// <auto-generated /> -using System; -using CoreWiki.Models; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -#nullable disable - -namespace CoreWiki.Migrations -{ - [DbContext(typeof(ApplicationDbContext))] - [Migration("20231222134125_Initial")] - partial class Initial - { - /// <inheritdoc /> - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder.HasAnnotation("ProductVersion", "7.0.2"); - - modelBuilder.Entity("CoreWiki.Models.Article", b => - { - b.Property<string>("Slug") - .HasColumnType("TEXT"); - - b.Property<string>("Content") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property<DateTime>("PublishedDateTime") - .HasColumnType("TEXT") - .HasColumnName("Published"); - - b.Property<string>("Topic") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("TEXT"); - - b.HasKey("Slug"); - - b.ToTable("Articles"); - - b.HasData( - new - { - Slug = "home-page", - Content = "Welcome to your new CoreWiki installation", - PublishedDateTime = new DateTime(2023, 12, 22, 13, 41, 24, 978, DateTimeKind.Utc).AddTicks(110), - Topic = "Home Page" - }); - }); -#pragma warning restore 612, 618 - } - } -} |
