update migration

This commit is contained in:
Alan Moon 2025-03-18 17:47:57 -07:00
parent 745e38dfc2
commit a8129eecc1
2 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,7 @@ namespace sodoff.Migrations
name: "Users", name: "Users",
columns: table => new columns: table => new
{ {
Id = table.Column<Guid>(type: "TEXT", nullable: false), Id = table.Column<Guid>(type: "TEXT", nullable: false, maxLength: 255),
Email = table.Column<string>(type: "TEXT", nullable: false), Email = table.Column<string>(type: "TEXT", nullable: false),
Username = table.Column<string>(type: "TEXT", nullable: false), Username = table.Column<string>(type: "TEXT", nullable: false),
Password = table.Column<string>(type: "TEXT", nullable: false) Password = table.Column<string>(type: "TEXT", nullable: false)

View File

@ -717,7 +717,8 @@ namespace sodoff.Migrations
{ {
b.Property<Guid>("Id") b.Property<Guid>("Id")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("TEXT"); .HasColumnType("TEXT")
.HasMaxLength(255);
b.Property<string>("Email") b.Property<string>("Email")
.IsRequired() .IsRequired()