aboutsummaryrefslogtreecommitdiff
path: root/ShareGuard.Web/Migrations/20251222192008_Init.Designer.cs
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-12-25 19:59:26 +0100
committerTim <contact@bytim.eu>2025-12-25 19:59:26 +0100
commit771b949618bb4e07c09c2fb94a7f92e13f471b9e (patch)
tree88c2e69fc14bef91e414c605712420437cc92ccf /ShareGuard.Web/Migrations/20251222192008_Init.Designer.cs
Initial commit
Diffstat (limited to 'ShareGuard.Web/Migrations/20251222192008_Init.Designer.cs')
-rw-r--r--ShareGuard.Web/Migrations/20251222192008_Init.Designer.cs50
1 files changed, 50 insertions, 0 deletions
diff --git a/ShareGuard.Web/Migrations/20251222192008_Init.Designer.cs b/ShareGuard.Web/Migrations/20251222192008_Init.Designer.cs
new file mode 100644
index 0000000..a0151ac
--- /dev/null
+++ b/ShareGuard.Web/Migrations/20251222192008_Init.Designer.cs
@@ -0,0 +1,50 @@
+// <auto-generated />
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using ShareGuard.Web;
+
+#nullable disable
+
+namespace ShareGuard.Web.Migrations
+{
+ [DbContext(typeof(Database))]
+ [Migration("20251222192008_Init")]
+ partial class Init
+ {
+ /// <inheritdoc />
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder.HasAnnotation("ProductVersion", "10.0.1");
+
+ modelBuilder.Entity("ShareGuard.Web.DbModels.Link", b =>
+ {
+ b.Property<int>("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("INTEGER");
+
+ b.Property<string>("IpAddress")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.Property<string>("Name")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.Property<string>("PeerPublicKey")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("Token")
+ .IsRequired()
+ .HasColumnType("TEXT");
+
+ b.HasKey("Id");
+
+ b.ToTable("Links");
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}