commit open changes from previous iterations
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `duration` to the `PlannedTimeStaging` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `pause` to the `PlannedTimeStaging` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `duration` to the `WorkTimeStaging` table without a default value. This is not possible if the table is not empty.
|
||||
- Added the required column `pause` to the `WorkTimeStaging` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "PlannedTimeStaging" ADD COLUMN "duration" INTEGER NOT NULL,
|
||||
ADD COLUMN "pause" INTEGER NOT NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "WorkTimeStaging" ADD COLUMN "duration" INTEGER NOT NULL,
|
||||
ADD COLUMN "pause" INTEGER NOT NULL;
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "DyflexisEmployee" ADD COLUMN "contractTypeName" TEXT,
|
||||
ALTER COLUMN "contractSalaryHour" SET DATA TYPE DOUBLE PRECISION;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "EmployeeDyflexisSource" ADD COLUMN "contract_type_name" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "EmployeeDyflexisStaging" ADD COLUMN "contractTypeName" TEXT;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- The primary key for the `DyflexisEmployee` table will be changed. If it partially fails, the table could be left without primary key constraint.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "DyflexisEmployee" DROP CONSTRAINT "DyflexisEmployee_pkey",
|
||||
ADD COLUMN "internalId" UUID NOT NULL DEFAULT gen_random_uuid(),
|
||||
ADD CONSTRAINT "DyflexisEmployee_pkey" PRIMARY KEY ("internalId");
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "AttendanceRegistration" ALTER COLUMN "personnelNumber" DROP NOT NULL;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "AttendanceRegistrationStaging" ADD COLUMN "personnelNumber" TEXT DEFAULT '';
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Tour" ADD COLUMN "companyName" TEXT,
|
||||
ADD COLUMN "overRTW" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "schwerlast" BOOLEAN NOT NULL DEFAULT false;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "TourSource" ADD COLUMN "companyName" TEXT,
|
||||
ADD COLUMN "overRTW" TEXT,
|
||||
ADD COLUMN "schwerlast" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "TourStaging" ADD COLUMN "companyName" TEXT,
|
||||
ADD COLUMN "overRTW" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "schwerlast" BOOLEAN NOT NULL DEFAULT false;
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "Sickdays" (
|
||||
"id" UUID NOT NULL DEFAULT gen_random_uuid(),
|
||||
"start" TIMESTAMP(3) NOT NULL,
|
||||
"end" TIMESTAMP(3) NOT NULL,
|
||||
"hours" DOUBLE PRECISION NOT NULL,
|
||||
"days" INTEGER NOT NULL,
|
||||
"note" TEXT,
|
||||
"locked" BOOLEAN NOT NULL,
|
||||
"employeeId" INTEGER NOT NULL,
|
||||
|
||||
CONSTRAINT "Sickdays_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateTable
|
||||
CREATE TABLE "Holiday" (
|
||||
"id" UUID NOT NULL DEFAULT gen_random_uuid(),
|
||||
"date" TIMESTAMP(3) NOT NULL,
|
||||
"locked" BOOLEAN NOT NULL,
|
||||
"excludedFromPayroll" BOOLEAN NOT NULL,
|
||||
"employeeId" INTEGER NOT NULL,
|
||||
|
||||
CONSTRAINT "Holiday_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
Reference in New Issue
Block a user