This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: impronvments for model school
- Loading branch information
1 parent
1e4ba79
commit 7f8f539
Showing
5 changed files
with
275 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
prisma/migrations/20240526202041_add_school_columns/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
-- AlterTable | ||
ALTER TABLE "School" ADD COLUMN "abbreviation" TEXT, | ||
ADD COLUMN "access" INTEGER, | ||
ADD COLUMN "acronym" TEXT, | ||
ADD COLUMN "active" BOOLEAN NOT NULL DEFAULT true, | ||
ADD COLUMN "administrativeDependency" INTEGER, | ||
ADD COLUMN "availableArea" TEXT, | ||
ADD COLUMN "blockDiaryEntriesForClosedAcademicYears" BOOLEAN, | ||
ADD COLUMN "builtArea" TEXT, | ||
ADD COLUMN "condition" INTEGER, | ||
ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
ADD COLUMN "creationDecree" TEXT, | ||
ADD COLUMN "deletedAt" TIMESTAMP(3), | ||
ADD COLUMN "energyMeter" INTEGER, | ||
ADD COLUMN "floorType" INTEGER, | ||
ADD COLUMN "hasAEERoom" BOOLEAN, | ||
ADD COLUMN "hasAccessibleRestroom" BOOLEAN, | ||
ADD COLUMN "hasArtsRoom" BOOLEAN, | ||
ADD COLUMN "hasAuditorium" BOOLEAN, | ||
ADD COLUMN "hasCafeteria" BOOLEAN, | ||
ADD COLUMN "hasChildRestroom" BOOLEAN, | ||
ADD COLUMN "hasComputerLab" BOOLEAN, | ||
ADD COLUMN "hasCoveredCourt" BOOLEAN, | ||
ADD COLUMN "hasExternalArea" BOOLEAN, | ||
ADD COLUMN "hasGreenArea" BOOLEAN, | ||
ADD COLUMN "hasKitchen" BOOLEAN, | ||
ADD COLUMN "hasLibrary" BOOLEAN, | ||
ADD COLUMN "hasMultipurposeRoom" BOOLEAN, | ||
ADD COLUMN "hasNursery" BOOLEAN, | ||
ADD COLUMN "hasPERoom" BOOLEAN, | ||
ADD COLUMN "hasPantry" BOOLEAN, | ||
ADD COLUMN "hasPatio" BOOLEAN, | ||
ADD COLUMN "hasPlayground" BOOLEAN, | ||
ADD COLUMN "hasPrincipalOffice" BOOLEAN, | ||
ADD COLUMN "hasReadingRoom" BOOLEAN, | ||
ADD COLUMN "hasRestroomInside" BOOLEAN, | ||
ADD COLUMN "hasRestroomOutside" BOOLEAN, | ||
ADD COLUMN "hasScienceLab" BOOLEAN, | ||
ADD COLUMN "hasSecretaryOffice" BOOLEAN, | ||
ADD COLUMN "hasShower" BOOLEAN, | ||
ADD COLUMN "hasStudentDormitory" BOOLEAN, | ||
ADD COLUMN "hasTeacherDormitory" BOOLEAN, | ||
ADD COLUMN "hasTeachersRoom" BOOLEAN, | ||
ADD COLUMN "hasUncoveredCourt" BOOLEAN, | ||
ADD COLUMN "latitude" TEXT, | ||
ADD COLUMN "logoUrl" TEXT, | ||
ADD COLUMN "longitude" TEXT, | ||
ADD COLUMN "managerId" UUID, | ||
ADD COLUMN "managerPosition" TEXT, | ||
ADD COLUMN "numberOfFloors" INTEGER, | ||
ADD COLUMN "operationLocation" TEXT, | ||
ADD COLUMN "operationalStatus" INTEGER, | ||
ADD COLUMN "regulation" INTEGER, | ||
ADD COLUMN "sharedSchoolInepCode" INTEGER, | ||
ADD COLUMN "totalArea" TEXT, | ||
ADD COLUMN "waterConsumed" INTEGER; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters