Fix db and fix endpoints
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Managing.Infrastructure.Databases.PostgreSql.Entities;
|
||||
|
||||
[Table("Users")]
|
||||
[Index(nameof(Name), IsUnique = true)]
|
||||
public class UserEntity
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user