traintrape-moi/server/prisma/migrations/20241207201534_timezones/migration.sql

13 lines
509 B
MySQL
Raw Normal View History

-- 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);