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.
  
  ALTER TABLE edfi.AcademicWeek
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Account
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.AccountCode
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.AccountabilityRating
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Actual
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Assessment
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.AssessmentItem
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.BellSchedule
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Budget
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Calendar
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.CalendarDate
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.ClassPeriod
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Cohort
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.CommunityProviderLicense
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.CompetencyObjective
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.ContractedStaff
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Course
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.CourseOffering
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.CourseTranscript
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Credential
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Descriptor
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.DisciplineAction
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.DisciplineIncident
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.EducationContent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.EducationOrganization
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.EducationOrganizationInterventionPrescriptionAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.EducationOrganizationNetworkAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.EducationOrganizationPeerAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.FeederSchoolAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.GeneralStudentProgramAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Grade
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.GradebookEntry
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.GradingPeriod
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.GraduationPlan
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Intervention
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.InterventionPrescription
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.InterventionStudy
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.LearningObjective
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.LearningStandard
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.LearningStandardEquivalenceAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Location
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.ObjectiveAssessment
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.OpenStaffPosition
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Parent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Payroll
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Person
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.PostSecondaryEvent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Program
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.ReportCard
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.RestraintEvent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SchoolYearType
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Section
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SectionAttendanceTakenEvent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Session
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Staff
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffAbsenceEvent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffCohortAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffDisciplineIncidentAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffEducationOrganizationAssignmentAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffEducationOrganizationContactAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffEducationOrganizationEmploymentAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffLeave
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffProgramAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffSchoolAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StaffSectionAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Student
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentAcademicRecord
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentAssessment
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentCohortAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentCompetencyObjective
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentDisciplineIncidentAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentEducationOrganizationAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentEducationOrganizationResponsibilityAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentGradebookEntry
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentInterventionAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentInterventionAttendanceEvent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentLearningObjective
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentParentAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentProgramAttendanceEvent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentSchoolAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentSchoolAttendanceEvent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentSectionAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.StudentSectionAttendanceEvent
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.Survey
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveyCourseAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveyProgramAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveyQuestion
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveyQuestionResponse
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveyResponse
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveyResponseEducationOrganizationTargetAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveyResponseStaffTargetAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveySection
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveySectionAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveySectionResponse
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveySectionResponseEducationOrganizationTargetAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  ALTER TABLE edfi.SurveySectionResponseStaffTargetAssociation
  ADD ChangeVersion BIGINT DEFAULT nextval('changes.ChangeVersionSequence') NOT NULL;
  
  