add create signup code
This commit is contained in:
parent
161dcf7cab
commit
fbc6f562e3
9 changed files with 105 additions and 2 deletions
|
@ -0,0 +1,14 @@
|
|||
using Femto.Modules.Auth.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Femto.Modules.Auth.Data.Configurations;
|
||||
|
||||
internal class SignupCodeConfiguration : IEntityTypeConfiguration<SignupCode>
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<SignupCode> builder)
|
||||
{
|
||||
builder.ToTable("signup_code");
|
||||
builder.HasKey(t => t.Code);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue