From a8129eecc10934530f38bb00dd73479b4542827b Mon Sep 17 00:00:00 2001 From: AlanMoonbase Date: Tue, 18 Mar 2025 17:47:57 -0700 Subject: [PATCH] update migration --- src/Migrations/20250303002741_IntialCreatePostDesign.cs | 2 +- src/Migrations/DBContextModelSnapshot.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Migrations/20250303002741_IntialCreatePostDesign.cs b/src/Migrations/20250303002741_IntialCreatePostDesign.cs index 4f50e5e..58e4444 100644 --- a/src/Migrations/20250303002741_IntialCreatePostDesign.cs +++ b/src/Migrations/20250303002741_IntialCreatePostDesign.cs @@ -51,7 +51,7 @@ namespace sodoff.Migrations name: "Users", columns: table => new { - Id = table.Column(type: "TEXT", nullable: false), + Id = table.Column(type: "TEXT", nullable: false, maxLength: 255), Email = table.Column(type: "TEXT", nullable: false), Username = table.Column(type: "TEXT", nullable: false), Password = table.Column(type: "TEXT", nullable: false) diff --git a/src/Migrations/DBContextModelSnapshot.cs b/src/Migrations/DBContextModelSnapshot.cs index 0f64e78..b258c14 100644 --- a/src/Migrations/DBContextModelSnapshot.cs +++ b/src/Migrations/DBContextModelSnapshot.cs @@ -717,7 +717,8 @@ namespace sodoff.Migrations { b.Property("Id") .ValueGeneratedOnAdd() - .HasColumnType("TEXT"); + .HasColumnType("TEXT") + .HasMaxLength(255); b.Property("Email") .IsRequired()