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