delete OriginOriginId in Exam Table because i beleve it is not needed.
This commit is contained in:
parent
aff4a22de1
commit
0afb70f881
|
@ -121,7 +121,6 @@ CREATE TABLE [dbo].[Exam] (
|
|||
[ExamId] int IDENTITY(1,1) NOT NULL,
|
||||
[DoctorId] int NOT NULL,
|
||||
[PatientId] int NOT NULL,
|
||||
[OriginOriginId] int NOT NULL,
|
||||
[Result_ResultId] int NOT NULL
|
||||
);
|
||||
GO
|
||||
|
@ -238,12 +237,6 @@ ADD CONSTRAINT [FK_Origin]
|
|||
ON DELETE NO ACTION ON UPDATE NO ACTION;
|
||||
GO
|
||||
|
||||
-- Creating non-clustered index for FOREIGN KEY 'FK_Origin_Exam'
|
||||
CREATE INDEX [IX_FK_Origin_Exam]
|
||||
ON [dbo].[Origin_Exam]
|
||||
([OriginOriginId]);
|
||||
GO
|
||||
|
||||
-- Creating foreign key on [ExamId] in table 'Origin_Exam'
|
||||
ALTER TABLE [dbo].[Origin_Exam]
|
||||
ADD CONSTRAINT [FK_Exam]
|
||||
|
|
Loading…
Reference in New Issue