Project

General

Profile

Task #2636 » hrdata_sql.sql

Alena Peterová, 01/25/2021 07:11 PM

 
1
--
2
-- PostgreSQL database dump
3
--
4

    
5
-- Dumped from database version 12.5 (Debian 12.5-1.pgdg100+1)
6
-- Dumped by pg_dump version 12.5 (Debian 12.5-1.pgdg100+1)
7

    
8
SET statement_timeout = 0;
9
SET lock_timeout = 0;
10
SET idle_in_transaction_session_timeout = 0;
11
SET client_encoding = 'UTF8';
12
SET standard_conforming_strings = on;
13
SELECT pg_catalog.set_config('search_path', '', false);
14
SET check_function_bodies = false;
15
SET xmloption = content;
16
SET client_min_messages = warning;
17
SET row_security = off;
18

    
19
SET default_tablespace = '';
20

    
21
SET default_table_access_method = heap;
22

    
23
--
24
-- Name: contracts; Type: TABLE; Schema: public; Owner: czechidm
25
--
26

    
27
CREATE TABLE public.contracts (
28
    id character varying(255) NOT NULL,
29
    personalnumber character varying(255) NOT NULL,
30
    validfrom timestamp without time zone,
31
    validtill timestamp without time zone,
32
    state character varying(255),
33
    workposition character varying(255),
34
    contracttype character varying(255),
35
    lastupdatetime timestamp without time zone
36
);
37

    
38

    
39
ALTER TABLE public.contracts OWNER TO czechidm;
40

    
41
--
42
-- Name: identities; Type: TABLE; Schema: public; Owner: czechidm
43
--
44

    
45
CREATE TABLE public.identities (
46
    id character varying(255) NOT NULL,
47
    firstname character varying(255),
48
    lastname character varying(255),
49
    titlebefore character varying(255),
50
    titleafter character varying(255),
51
    personalnumber character varying(255),
52
    lastupdatetime timestamp without time zone
53
);
54

    
55

    
56
ALTER TABLE public.identities OWNER TO czechidm;
57

    
58
--
59
-- Data for Name: contracts; Type: TABLE DATA; Schema: public; Owner: czechidm
60
--
61

    
62
INSERT INTO public.contracts VALUES ('1', '1000', '2021-01-01 00:00:00', '2021-12-31 00:00:00', NULL, 'Department 1', 'consultant', '2021-01-24 22:56:58.842397');
63

    
64

    
65
--
66
-- Data for Name: identities; Type: TABLE DATA; Schema: public; Owner: czechidm
67
--
68

    
69
INSERT INTO public.identities VALUES ('1', 'Jan', 'Dvořák', 'Ing.', NULL, '1000', '2021-01-24 22:31:37.88381');
70

    
71

    
72
--
73
-- PostgreSQL database dump complete
74
--
75

    
(1-1/13)