diff --git a/server/prisma/migrations/20241207201534_timezones/migration.sql b/server/prisma/migrations/20241207201534_timezones/migration.sql new file mode 100644 index 0000000..a94c24b --- /dev/null +++ b/server/prisma/migrations/20241207201534_timezones/migration.sql @@ -0,0 +1,12 @@ +-- AlterTable +ALTER TABLE "ChallengeAction" ALTER COLUMN "end" SET DATA TYPE TIMESTAMPTZ(3), +ALTER COLUMN "penaltyEnd" SET DATA TYPE TIMESTAMPTZ(3), +ALTER COLUMN "penaltyStart" SET DATA TYPE TIMESTAMPTZ(3), +ALTER COLUMN "start" SET DATA TYPE TIMESTAMPTZ(3); + +-- AlterTable +ALTER TABLE "Geolocation" ALTER COLUMN "timestamp" SET DATA TYPE TIMESTAMPTZ(3); + +-- AlterTable +ALTER TABLE "TrainTrip" ALTER COLUMN "departureTime" SET DATA TYPE TIMESTAMPTZ(3), +ALTER COLUMN "arrivalTime" SET DATA TYPE TIMESTAMPTZ(3);