﻿CREATE TABLE [user].[User]
(
	[Id] BIGINT NOT NULL PRIMARY KEY IDENTITY,
	[Name] [user].[UserName] NOT NULL UNIQUE,
	[DisplayName] NVARCHAR(100) NOT NULL,
	[Platform] NVARCHAR(20) NOT NULL,

	CONSTRAINT User_Platform FOREIGN KEY ([Platform]) References [user].[LoginPlatform] ([Platform])
		ON DELETE CASCADE
		ON UPDATE CASCADE
)
