implement Gehaltsaufstellung dyflexis data access
This commit is contained in:
@@ -16,6 +16,20 @@ SET xmloption = content;
|
||||
SET client_min_messages = warning;
|
||||
SET row_security = off;
|
||||
|
||||
--
|
||||
-- Name: public; Type: SCHEMA; Schema: -; Owner: -
|
||||
--
|
||||
|
||||
-- *not* creating schema, since initdb creates it
|
||||
|
||||
|
||||
--
|
||||
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: -
|
||||
--
|
||||
|
||||
COMMENT ON SCHEMA public IS '';
|
||||
|
||||
|
||||
--
|
||||
-- Name: pgcrypto; Type: EXTENSION; Schema: -; Owner: -
|
||||
--
|
||||
@@ -120,7 +134,7 @@ CREATE TABLE public."Anomaly" (
|
||||
CREATE TABLE public."AttendanceRegistration" (
|
||||
"attendanceRegistrationId" integer NOT NULL,
|
||||
"employeeId" integer NOT NULL,
|
||||
"personnelNumber" text NOT NULL,
|
||||
"personnelNumber" text,
|
||||
"dateTime" timestamp(3) without time zone NOT NULL,
|
||||
event text NOT NULL
|
||||
);
|
||||
@@ -151,7 +165,8 @@ CREATE TABLE public."AttendanceRegistrationStaging" (
|
||||
"attendanceRegistrationId" integer NOT NULL,
|
||||
"employeeId" integer NOT NULL,
|
||||
"dateTime" timestamp(3) without time zone NOT NULL,
|
||||
event text NOT NULL
|
||||
event text NOT NULL,
|
||||
"personnelNumber" text DEFAULT ''::text
|
||||
);
|
||||
|
||||
|
||||
@@ -286,6 +301,19 @@ CREATE TABLE public."EmployeeDyflexisStaging" (
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Holiday; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE TABLE public."Holiday" (
|
||||
id uuid DEFAULT gen_random_uuid() NOT NULL,
|
||||
date timestamp(3) without time zone NOT NULL,
|
||||
locked boolean NOT NULL,
|
||||
"excludedFromPayroll" boolean NOT NULL,
|
||||
"employeeId" integer NOT NULL
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Patient; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
@@ -411,6 +439,22 @@ CREATE TABLE public."PlannedTimeStaging" (
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Sickdays; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
CREATE TABLE public."Sickdays" (
|
||||
id uuid DEFAULT gen_random_uuid() NOT NULL,
|
||||
start timestamp(3) without time zone NOT NULL,
|
||||
"end" timestamp(3) without time zone NOT NULL,
|
||||
hours double precision NOT NULL,
|
||||
days integer NOT NULL,
|
||||
note text,
|
||||
locked boolean NOT NULL,
|
||||
"employeeId" integer NOT NULL
|
||||
);
|
||||
|
||||
|
||||
--
|
||||
-- Name: SolutionTarget; Type: TABLE; Schema: public; Owner: -
|
||||
--
|
||||
@@ -540,7 +584,10 @@ CREATE TABLE public."Tour" (
|
||||
"createdAt" timestamp(3) without time zone,
|
||||
"deletedAt" timestamp(3) without time zone,
|
||||
"ticketId" uuid,
|
||||
"updatedAt" timestamp(3) without time zone
|
||||
"updatedAt" timestamp(3) without time zone,
|
||||
"companyName" text,
|
||||
"overRTW" boolean DEFAULT false NOT NULL,
|
||||
schwerlast boolean DEFAULT false NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -616,7 +663,10 @@ CREATE TABLE public."TourSource" (
|
||||
"fahrerName" text,
|
||||
fahrer text,
|
||||
color text,
|
||||
"lastUpdate" text
|
||||
"lastUpdate" text,
|
||||
"companyName" text,
|
||||
"overRTW" text,
|
||||
schwerlast text
|
||||
);
|
||||
|
||||
|
||||
@@ -674,7 +724,10 @@ CREATE TABLE public."TourStaging" (
|
||||
"revenueDeviation" double precision DEFAULT 0 NOT NULL,
|
||||
"consumptionCosts" double precision DEFAULT 0 NOT NULL,
|
||||
"createdAt" timestamp(3) without time zone,
|
||||
"updatedAt" timestamp(3) without time zone
|
||||
"updatedAt" timestamp(3) without time zone,
|
||||
"companyName" text,
|
||||
"overRTW" boolean DEFAULT false NOT NULL,
|
||||
schwerlast boolean DEFAULT false NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -860,6 +913,14 @@ ALTER TABLE ONLY public."Employee"
|
||||
ADD CONSTRAINT "Employee_pkey" PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Holiday Holiday_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public."Holiday"
|
||||
ADD CONSTRAINT "Holiday_pkey" PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: PatientSource PatientSource_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
@@ -908,6 +969,14 @@ ALTER TABLE ONLY public."PlannedTime"
|
||||
ADD CONSTRAINT "PlannedTime_pkey" PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: Sickdays Sickdays_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
ALTER TABLE ONLY public."Sickdays"
|
||||
ADD CONSTRAINT "Sickdays_pkey" PRIMARY KEY (id);
|
||||
|
||||
|
||||
--
|
||||
-- Name: SolutionTargetStep SolutionTargetStep_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user