text: -- SPDX-License-Identifier: Apache-2.0
  -- Licensed to the Ed-Fi Alliance under one or more agreements.
  -- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
  -- See the LICENSE and NOTICES files in the project root for more information.
  
  PRINT N'Dropping [edfi].[InterventionPrescriptionDiagnosis_DF_CreateDate]...';
  
  
  GO
  ALTER TABLE [edfi].[InterventionPrescriptionDiagnosis] DROP CONSTRAINT [InterventionPrescriptionDiagnosis_DF_CreateDate];
  
  
  GO
  PRINT N'Altering [edfi].[InterventionPrescriptionDiagnosis]...';
  
  
  GO
  ALTER TABLE [edfi].[InterventionPrescriptionDiagnosis] ALTER COLUMN [CreateDate] DATETIME2 (7) NOT NULL;
  
  
  GO
  PRINT N'Creating [edfi].[InterventionPrescriptionDiagnosis_DF_CreateDate]...';
  
  
  GO
  ALTER TABLE [edfi].[InterventionPrescriptionDiagnosis]
      ADD CONSTRAINT [InterventionPrescriptionDiagnosis_DF_CreateDate] DEFAULT (getdate()) FOR [CreateDate];
  
  
  GO
  