Created
May 2, 2020 11:41
-
-
Save dlagg/e107363b1467bfb822f2723a52607cdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <auto-generated /> | |
using ClaveSol.Data; | |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.EntityFrameworkCore.Infrastructure; | |
using Microsoft.EntityFrameworkCore.Storage.ValueConversion; | |
namespace ClaveSol.Migrations | |
{ | |
[DbContext(typeof(ClaveSolDbContext))] | |
partial class ClaveSolContextModelSnapshot : ModelSnapshot | |
{ | |
protected override void BuildModel(ModelBuilder modelBuilder) | |
{ | |
#pragma warning disable 612, 618 | |
modelBuilder | |
.HasAnnotation("ProductVersion", "3.1.3"); | |
modelBuilder.Entity("ClaveSol.Models.User", b => | |
{ | |
b.Property<int>("Id") | |
.ValueGeneratedOnAdd() | |
.HasColumnType("INTEGER"); | |
b.Property<string>("Mail") | |
.IsRequired() | |
.HasColumnType("TEXT"); | |
b.Property<string>("Name") | |
.IsRequired() | |
.HasColumnType("TEXT") | |
.HasMaxLength(30); | |
b.Property<string>("OwnerID") | |
.HasColumnType("TEXT"); | |
b.Property<bool>("Premium") | |
.HasColumnType("INTEGER"); | |
b.Property<int>("Status") | |
.HasColumnType("INTEGER"); | |
b.Property<string>("Surname") | |
.IsRequired() | |
.HasColumnType("TEXT") | |
.HasMaxLength(60); | |
b.HasKey("Id"); | |
b.ToTable("User"); | |
}); | |
#pragma warning restore 612, 618 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment