text: ﻿CREATE TABLE [IdentityServer].[ClientCorsOrigins](
  	[Id] [int] IDENTITY(1,1) NOT NULL,
  	[Origin] [nvarchar](150) NOT NULL,
  	[ClientId] [int] NOT NULL,
  	CONSTRAINT [PK_ClientCorsOrigins] PRIMARY KEY CLUSTERED 
  	(
  		[Id] ASC
  	) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  ) ON [PRIMARY]
  GO
  
  ALTER TABLE [IdentityServer].[ClientCorsOrigins] ADD CONSTRAINT [FK_ClientCorsOrigins_Clients_ClientId] FOREIGN KEY([ClientId])
  REFERENCES [IdentityServer].[Clients] ([Id])
  ON DELETE CASCADE
  GO
  
  ALTER TABLE [IdentityServer].[ClientCorsOrigins] CHECK CONSTRAINT [FK_ClientCorsOrigins_Clients_ClientId]
  GO