dev
Rev | Line | |
---|
[e6a6d9a] | 1 | CREATE TABLE [dbo].[Moderator] (
|
---|
| 2 | [Id] BIGINT IDENTITY (1, 1) NOT NULL,
|
---|
| 3 | [Uid] UNIQUEIDENTIFIER NOT NULL,
|
---|
| 4 | [ApplicationUserFk] BIGINT NOT NULL,
|
---|
| 5 | CONSTRAINT [PK_Moderator] PRIMARY KEY CLUSTERED ([Id] ASC),
|
---|
| 6 | CONSTRAINT [FK_Moderator_AspNetUsers_ApplicationUserFk] FOREIGN KEY ([ApplicationUserFk]) REFERENCES [dbo].[AspNetUsers] ([Id])
|
---|
| 7 | );
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | GO
|
---|
| 11 | CREATE UNIQUE NONCLUSTERED INDEX [IX_Moderator_ApplicationUserFk]
|
---|
| 12 | ON [dbo].[Moderator]([ApplicationUserFk] ASC);
|
---|
| 13 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.