aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Migrations/20190412144150_AddAdminUser.Designer.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-13 13:06:05 +0800
committercrupest <crupest@outlook.com>2019-04-13 13:06:05 +0800
commit4f16c1d3dff716092e1a26e06e6cfbeec90c027c (patch)
tree8ecd711d2b1c97754b321ef0e0bc7de45d303cbd /Timeline/Migrations/20190412144150_AddAdminUser.Designer.cs
parentfac5006e7eaf7f7bc23e92a2b3059d4f1b37fa07 (diff)
parent401a5b74696c471e5168e421e3de0db1e5f946a8 (diff)
downloadtimeline-4f16c1d3dff716092e1a26e06e6cfbeec90c027c.tar.gz
timeline-4f16c1d3dff716092e1a26e06e6cfbeec90c027c.tar.bz2
timeline-4f16c1d3dff716092e1a26e06e6cfbeec90c027c.zip
Merge branch '6-user' into separate
Diffstat (limited to 'Timeline/Migrations/20190412144150_AddAdminUser.Designer.cs')
-rw-r--r--Timeline/Migrations/20190412144150_AddAdminUser.Designer.cs43
1 files changed, 43 insertions, 0 deletions
diff --git a/Timeline/Migrations/20190412144150_AddAdminUser.Designer.cs b/Timeline/Migrations/20190412144150_AddAdminUser.Designer.cs
new file mode 100644
index 00000000..319c646a
--- /dev/null
+++ b/Timeline/Migrations/20190412144150_AddAdminUser.Designer.cs
@@ -0,0 +1,43 @@
+// <auto-generated />
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using Timeline.Models;
+
+namespace Timeline.Migrations
+{
+ [DbContext(typeof(DatabaseContext))]
+ [Migration("20190412144150_AddAdminUser")]
+ partial class AddAdminUser
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "2.2.3-servicing-35854")
+ .HasAnnotation("Relational:MaxIdentifierLength", 64);
+
+ modelBuilder.Entity("Timeline.Models.User", b =>
+ {
+ b.Property<long>("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnName("id");
+
+ b.Property<string>("EncryptedPassword")
+ .HasColumnName("password");
+
+ b.Property<string>("Name")
+ .HasColumnName("name");
+
+ b.Property<string>("RoleString")
+ .HasColumnName("roles");
+
+ b.HasKey("Id");
+
+ b.ToTable("user");
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}