text: ﻿CREATE TABLE [dbo].[membership_UserLogin] (
      [LoginProvider] NVARCHAR (128) NOT NULL,
      [ProviderKey]   NVARCHAR (128) NOT NULL,
      [UserId]        NVARCHAR (128) NOT NULL,
      CONSTRAINT [PK_dbo.membership_UserLogin] PRIMARY KEY CLUSTERED ([LoginProvider] ASC, [ProviderKey] ASC, [UserId] ASC),
      CONSTRAINT [FK_dbo.membership_UserLogin_dbo.membership_User_UserId] FOREIGN KEY ([UserId]) REFERENCES [dbo].[membership_User] ([Id]) ON DELETE CASCADE
  );
  
  
  GO
  CREATE NONCLUSTERED INDEX [IX_UserId]
      ON [dbo].[membership_UserLogin]([UserId] ASC);
  
  