﻿CREATE TABLE [account].[Account]
(
	[Id] BIGINT NOT NULL PRIMARY KEY IDENTITY, 
	[HashedAccountId] NVARCHAR(100) NOT NULL,
    [Name] NVARCHAR(100) NOT NULL 
)
GO

CREATE UNIQUE INDEX [IX_Account_HashedAccountId] ON [account].[Account] ([HashedAccountId])

﻿CREATE TABLE [account].[Account]
(
	[Id] BIGINT NOT NULL PRIMARY KEY IDENTITY, 
	[HashedAccountId] NVARCHAR(100) NULL,
    [Name] NVARCHAR(100) NOT NULL 
)
GO

CREATE UNIQUE INDEX [IX_Account_HashedAccountId] ON [account].[Account] ([HashedAccountId])

Change for the hashedaccountid to allow nulls.
Change for the hashedaccountid to allow nulls.
