tuitio/IdentityServer.Domain.Data/Scripts/1.0.1/01.UserClaim table.sql

10 lines
355 B
MySQL
Raw Normal View History

if not exists (select top 1 1 from sys.objects where name = 'UserClaim' and type = 'U')
begin
create table UserClaim
(
ClaimId int identity(1, 1) constraint PK_UserClaim primary key,
2021-11-12 02:22:51 +02:00
UserId int not null constraint FK_UserClaim_AppUser foreign key references AppUser(UserId),
ClaimKey varchar(50) not null,
ClaimValue varchar(300) not null
)
end