 
 GO
 
-/****** Object:  Table [dbo].[ClassUnit]    Script Date: 4/7/2015 2:53:23 PM ******/
+/****** Object:  Table [dbo].[ClassUnit]    Script Date: 4/13/2015 3:36:23 PM ******/
 
 SET ANSI_NULLS ON
 


GO

/****** Object:  Table [dbo].[BatchAttendance]    Script Date: 4/7/2015 2:53:23 PM ******/

SET ANSI_NULLS ON



GO

ALTER TABLE [dbo].[Batch]  WITH CHECK ADD  CONSTRAINT [FK_Batch_ClassUnit] FOREIGN KEY([ClassId])

REFERENCES [dbo].[ClassUnit] ([ClassId])

GO

ALTER TABLE [dbo].[Batch] CHECK CONSTRAINT [FK_Batch_ClassUnit]

GO

ALTER TABLE [dbo].[Batch]  WITH CHECK ADD  CONSTRAINT [FK_Batch_Faculty] FOREIGN KEY([FacultyId])

REFERENCES [dbo].[FacultyDetails] ([FacultyId])
