Commit eb3c1e11 authored by Indra Raja's avatar Indra Raja

update database

parent 95a3d3f6
......@@ -5,14 +5,14 @@
Source Server Type : PostgreSQL
Source Server Version : 110005
Source Host : localhost:5432
Source Catalog : Test1
Source Catalog : antrian
Source Schema : public
Target Server Type : PostgreSQL
Target Server Version : 110005
File Encoding : 65001
Date: 22/09/2020 11:03:43
Date: 22/09/2020 16:55:39
*/
......@@ -60,6 +60,17 @@ MAXVALUE 9223372036854775807
START 1
CACHE 1;
-- ----------------------------
-- Sequence structure for id_ruang_seq
-- ----------------------------
DROP SEQUENCE IF EXISTS "public"."id_ruang_seq";
CREATE SEQUENCE "public"."id_ruang_seq"
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 1
CACHE 1;
-- ----------------------------
-- Sequence structure for pasien_id_pasien_seq
-- ----------------------------
......@@ -104,39 +115,6 @@ MAXVALUE 2147483647
START 1
CACHE 1;
-- ----------------------------
-- Sequence structure for user_data_header_iduser_seq1
-- ----------------------------
DROP SEQUENCE IF EXISTS "public"."user_data_header_iduser_seq1";
CREATE SEQUENCE "public"."user_data_header_iduser_seq1"
INCREMENT 1
MINVALUE 1
MAXVALUE 2147483647
START 1
CACHE 1;
-- ----------------------------
-- Sequence structure for user_data_header_iduser_seq2
-- ----------------------------
DROP SEQUENCE IF EXISTS "public"."user_data_header_iduser_seq2";
CREATE SEQUENCE "public"."user_data_header_iduser_seq2"
INCREMENT 1
MINVALUE 1
MAXVALUE 2147483647
START 1
CACHE 1;
-- ----------------------------
-- Sequence structure for user_data_header_iduser_seq3
-- ----------------------------
DROP SEQUENCE IF EXISTS "public"."user_data_header_iduser_seq3";
CREATE SEQUENCE "public"."user_data_header_iduser_seq3"
INCREMENT 1
MINVALUE 1
MAXVALUE 2147483647
START 1
CACHE 1;
-- ----------------------------
-- Table structure for antrian
-- ----------------------------
......@@ -149,6 +127,55 @@ CREATE TABLE "public"."antrian" (
)
;
-- ----------------------------
-- Records of antrian
-- ----------------------------
INSERT INTO "public"."antrian" VALUES (1770, 1, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1771, 2, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1772, 3, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1773, 4, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1774, 5, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1775, 6, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1776, 7, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1777, 8, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1778, 9, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1779, 10, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1780, 11, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1781, 12, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1782, 13, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1783, 14, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1784, 15, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1785, 1, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1786, 2, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1787, 3, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1788, 4, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1789, 5, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1790, 6, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1791, 7, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1792, 8, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1793, 9, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1794, 10, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1795, 1, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1796, 2, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1797, 3, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1798, 4, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1799, 5, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1800, 6, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1801, 7, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1802, 8, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1803, 9, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1804, 10, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1805, 1, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1806, 2, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1807, 3, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1808, 4, 1, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1809, 5, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1810, 6, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1811, 7, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1812, 8, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1813, 9, 2, '2020-09-22');
INSERT INTO "public"."antrian" VALUES (1814, 10, 2, '2020-09-22');
-- ----------------------------
-- Table structure for antrian_pasien
-- ----------------------------
......@@ -174,6 +201,40 @@ CREATE TABLE "public"."antrian_pasien" (
)
;
-- ----------------------------
-- Records of antrian_pasien
-- ----------------------------
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 9, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 17, NULL, '2', 218, 1813, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (2, 1, '2020-09-22', '', '', '', '', '', 5, 17, '', '1', 218, 1805, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (3, 2, '2020-09-22', '', '', '', '', '', 5, 17, '', '1', 218, 1806, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (4, 5, '2020-09-22', '', '', '', '', '', 5, 17, '', '2', 218, 1809, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (5, 6, '2020-09-22', '', '', '', '', '', 5, 17, '', '2', 218, 1810, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 10, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 17, NULL, '2', 218, 1814, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 2, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '1', 216, 1786, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 3, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '1', 216, 1787, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 4, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '1', 216, 1788, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 5, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '2', 216, 1789, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 6, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '2', 216, 1790, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 7, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '2', 216, 1791, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 8, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '2', 216, 1792, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 9, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '2', 216, 1793, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 10, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 15, NULL, '2', 216, 1794, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 6, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 16, NULL, '2', 217, 1800, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 7, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 16, NULL, '2', 217, 1801, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 8, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 16, NULL, '2', 217, 1802, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 9, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 16, NULL, '2', 217, 1803, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 10, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 16, NULL, '2', 217, 1804, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (1, 1, '2020-09-22', '', '', '', '', '', 5, 15, '', '1', 216, 1785, 10, 7, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 3, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 17, NULL, '1', 218, 1807, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 4, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 17, NULL, '1', 218, 1808, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 7, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 17, NULL, '2', 218, 1811, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (NULL, 8, '2020-09-22', NULL, NULL, NULL, NULL, NULL, 5, 17, NULL, '2', 218, 1812, 10, 9, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (6, 1, '2020-09-22', '', '', '', '', '', 5, 16, '', '1', 217, 1795, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (7, 2, '2020-09-22', '', '', '', '', '', 5, 16, '', '1', 217, 1796, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (8, 3, '2020-09-22', '', '', '', '', '', 5, 16, '', '1', 217, 1797, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (9, 4, '2020-09-22', '', '', '', '', '', 5, 16, '', '1', 217, 1798, 10, 8, NULL);
INSERT INTO "public"."antrian_pasien" VALUES (10, 5, '2020-09-22', '', '', '', '', '', 5, 16, '', '2', 217, 1799, 10, 8, NULL);
-- ----------------------------
-- Table structure for condition
-- ----------------------------
......@@ -184,6 +245,12 @@ CREATE TABLE "public"."condition" (
)
;
-- ----------------------------
-- Records of condition
-- ----------------------------
INSERT INTO "public"."condition" VALUES (1, 'enable');
INSERT INTO "public"."condition" VALUES (2, 'disable');
-- ----------------------------
-- Table structure for counter_status
-- ----------------------------
......@@ -195,6 +262,16 @@ CREATE TABLE "public"."counter_status" (
)
;
-- ----------------------------
-- Records of counter_status
-- ----------------------------
INSERT INTO "public"."counter_status" VALUES (1, 10, 'Queue');
INSERT INTO "public"."counter_status" VALUES (2, 20, 'Next');
INSERT INTO "public"."counter_status" VALUES (3, 30, 'Call');
INSERT INTO "public"."counter_status" VALUES (4, 40, 'Served');
INSERT INTO "public"."counter_status" VALUES (5, 50, 'Done');
INSERT INTO "public"."counter_status" VALUES (6, 60, 'Missed');
-- ----------------------------
-- Table structure for divisi_witel
-- ----------------------------
......@@ -220,6 +297,13 @@ CREATE TABLE "public"."dokter" (
)
;
-- ----------------------------
-- Records of dokter
-- ----------------------------
INSERT INTO "public"."dokter" VALUES (15, 'azy', 5, 2, 'az');
INSERT INTO "public"."dokter" VALUES (16, 'indra', 5, 2, 'IJ');
INSERT INTO "public"."dokter" VALUES (17, 'anggi', 5, 2, 'AG');
-- ----------------------------
-- Table structure for master_parameter
-- ----------------------------
......@@ -236,6 +320,19 @@ CREATE TABLE "public"."master_parameter" (
;
COMMENT ON TABLE "public"."master_parameter" IS 'master parameter';
-- ----------------------------
-- Records of master_parameter
-- ----------------------------
INSERT INTO "public"."master_parameter" VALUES (1, 'USER_STATUS', 'ACTIVE', '10', NULL, 'USER ACTIVE GANS', NULL);
INSERT INTO "public"."master_parameter" VALUES (2, 'USER_STATUS', 'NOT ACTIVE', '20', NULL, 'USER NOT ACTIVE GANS', NULL);
INSERT INTO "public"."master_parameter" VALUES (3, 'USER_STATUS', 'BLOCKED', '30', NULL, 'USER NA DIBLOCK', NULL);
INSERT INTO "public"."master_parameter" VALUES (4, 'INPUT_TYPE', 'INPUT', '1', NULL, NULL, NULL);
INSERT INTO "public"."master_parameter" VALUES (5, 'INPUT_TYPE', 'TEXTAREA', '2', NULL, NULL, NULL);
INSERT INTO "public"."master_parameter" VALUES (6, 'INPUT_OPTION', 'SELECT_OPTION', '3', NULL, NULL, NULL);
INSERT INTO "public"."master_parameter" VALUES (7, 'INPUT_RADIO', 'RADION_BUTTON', '4', NULL, NULL, NULL);
INSERT INTO "public"."master_parameter" VALUES (8, 'TYPE_DATA', 'I_VARCHAR', '1', NULL, 'JENIS INPUTAN VARCHAR', NULL);
INSERT INTO "public"."master_parameter" VALUES (9, 'TYPE_DATA', 'I_NUMBER', '2', NULL, 'JENIS INPUTAN NUMBER', NULL);
-- ----------------------------
-- Table structure for pasien
-- ----------------------------
......@@ -252,6 +349,20 @@ CREATE TABLE "public"."pasien" (
)
;
-- ----------------------------
-- Records of pasien
-- ----------------------------
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
INSERT INTO "public"."pasien" VALUES (NULL, '', '', '', '', '', '', '2020-09-22');
-- ----------------------------
-- Table structure for poli
-- ----------------------------
......@@ -259,10 +370,16 @@ DROP TABLE IF EXISTS "public"."poli";
CREATE TABLE "public"."poli" (
"id_poli" int2 NOT NULL DEFAULT nextval('poli_id_poli_seq'::regclass),
"nama_poli" varchar(255) COLLATE "pg_catalog"."default",
"kode_poli" varchar(5) COLLATE "pg_catalog"."default"
"kode_poli" varchar(5) COLLATE "pg_catalog"."default",
"deskripsi_poli" varchar(255) COLLATE "pg_catalog"."default"
)
;
-- ----------------------------
-- Records of poli
-- ----------------------------
INSERT INTO "public"."poli" VALUES (5, 'Umum', 'UM', 'abbbb');
-- ----------------------------
-- Table structure for regional
-- ----------------------------
......@@ -288,6 +405,14 @@ CREATE TABLE "public"."register_antrian" (
)
;
-- ----------------------------
-- Records of register_antrian
-- ----------------------------
INSERT INTO "public"."register_antrian" VALUES (210, 15, 5, 6, '2020-09-22', '6:15', '0:14');
INSERT INTO "public"."register_antrian" VALUES (211, 10, 5, 10, '2020-09-22', '6:59', '0:16');
INSERT INTO "public"."register_antrian" VALUES (212, 10, 5, 10, '2020-09-22', '12:26', '0:20');
INSERT INTO "public"."register_antrian" VALUES (213, 10, 5, 10, '2020-09-22', '6:10', '0:10');
-- ----------------------------
-- Table structure for register_dokter
-- ----------------------------
......@@ -307,18 +432,32 @@ CREATE TABLE "public"."register_dokter" (
)
;
-- ----------------------------
-- Records of register_dokter
-- ----------------------------
INSERT INTO "public"."register_dokter" VALUES (217, 5, 16, 8, 10, 5, 10, '2020-09-22', 1, '12:26', '0:20');
INSERT INTO "public"."register_dokter" VALUES (218, 5, 17, 9, 10, 5, 10, '2020-09-22', 1, '6:10', '0:10');
INSERT INTO "public"."register_dokter" VALUES (216, 5, 15, 7, 10, 5, 10, '2020-09-22', 1, '6:23', '0:16');
-- ----------------------------
-- Table structure for ruang
-- ----------------------------
DROP TABLE IF EXISTS "public"."ruang";
CREATE TABLE "public"."ruang" (
"id_ruang" int2 NOT NULL,
"id_ruang" int2 NOT NULL DEFAULT nextval('id_ruang_seq'::regclass),
"nama_ruang" varchar(255) COLLATE "pg_catalog"."default",
"id_poli" int2,
"id_condition" int2
)
;
-- ----------------------------
-- Records of ruang
-- ----------------------------
INSERT INTO "public"."ruang" VALUES (7, '1.3', 5, 2);
INSERT INTO "public"."ruang" VALUES (8, 'R 1.4', 5, 2);
INSERT INTO "public"."ruang" VALUES (9, 'R 1.5', 5, 2);
-- ----------------------------
-- Table structure for user_data_access
-- ----------------------------
......@@ -336,6 +475,13 @@ CREATE TABLE "public"."user_data_access" (
COMMENT ON COLUMN "public"."user_data_access"."access_action" IS 'NAMA FUNGSI PHP';
COMMENT ON COLUMN "public"."user_data_access"."access_controller" IS 'NAMA CONTROLLERNYA';
-- ----------------------------
-- Records of user_data_access
-- ----------------------------
INSERT INTO "public"."user_data_access" VALUES (1, 'DELETE TEST DATA', 'ACTION', 10, 'TEST FUNCTION', NULL, NULL);
INSERT INTO "public"."user_data_access" VALUES (2, 'MENU TEST DATA', 'MENU', 20, 'TEST MENU', NULL, NULL);
INSERT INTO "public"."user_data_access" VALUES (3, 'USER MANAGEMENT', 'MENU', 30, 'MENU USER MANAMEGENT', 'usermanagement', 'UserController');
-- ----------------------------
-- Table structure for user_data_header
-- ----------------------------
......@@ -370,6 +516,19 @@ START 1
COMMENT ON COLUMN "public"."user_data_header"."role" IS 'RELATION WITH TB: USER_DATA_ROLE';
COMMENT ON COLUMN "public"."user_data_header"."status" IS 'SET STATUS USER: ';
-- ----------------------------
-- Records of user_data_header
-- ----------------------------
INSERT INTO "public"."user_data_header" VALUES (5, '930159', NULL, 'Ratna Wulan Sari', 30, 10, NULL, '$2y$10$e5IlkVkq/7zxhuVgORVH6uY850T5NiY.MZzoVk8ASnEfRr.6ooira', '2020-01-14 01:16:32', NULL, NULL, 'ratna.sari@telkom.co.id', 'a0e3e79e631b49115bd0cb927120f9eb', '930159', 'JAKARTA', 'Telkom', NULL, NULL, NULL);
INSERT INTO "public"."user_data_header" VALUES (9, 'witels', '758a27752fa96f0e612e8c75b0d619a9', 'witels', 20, 10, NULL, NULL, '2020-06-21 22:50:03', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, '351', NULL);
INSERT INTO "public"."user_data_header" VALUES (6, 'test1', '5a105e8b9d40e1329780d62ea2265d8a', 'test1', 10, 30, NULL, NULL, '2020-06-21 21:57:41', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "public"."user_data_header" VALUES (7, 'test1', '5a105e8b9d40e1329780d62ea2265d8a', 'test1', 10, 20, NULL, NULL, '2020-06-21 21:57:44', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "public"."user_data_header" VALUES (8, 'test2', 'ad0234829205b9033196ba818f7a872b', 'test2', 20, 10, NULL, NULL, '2020-06-21 21:59:39', 'NULL', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "public"."user_data_header" VALUES (1, 'danirusdanx', '5036592afd6e403097c37eef12ad8285', 'danirusdan', 10, 10, NULL, NULL, '2017-07-09 22:30:23', 'NULL', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "public"."user_data_header" VALUES (4, 'adminx', '$2y$10$7NnmhGtMZJTbS7gRVl/c0OIrCK29/rurfhBdZAKlgN8y/WcV8nbRa', 'Saya Karyawan', 30, 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "public"."user_data_header" VALUES (3, 'danirusdan', '$2y$10$7NnmhGtMZJTbS7gRVl/c0OIrCK29/rurfhBdZAKlgN8y/WcV8nbRa', 'danirusdan', 10, 10, NULL, '$2y$10$zDNOrVtdYYGE3yBINaDDb.2506QHLSvGHn/hMxtqAkl21dWKEWsAG', NULL, '2', NULL, NULL, 'c46714daa0d91976579686bcad938849', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO "public"."user_data_header" VALUES (2, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'Atang', 10, 10, NULL, NULL, '2017-08-10 10:29:40', 'NULL', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-- ----------------------------
-- Table structure for user_data_map
-- ----------------------------
......@@ -383,6 +542,16 @@ CREATE TABLE "public"."user_data_map" (
)
;
-- ----------------------------
-- Records of user_data_map
-- ----------------------------
INSERT INTO "public"."user_data_map" VALUES (4, 10, 20, 'TRUE', '2020-06-21 21:12:51.219377');
INSERT INTO "public"."user_data_map" VALUES (5, 20, 20, 'TRUE', '2020-06-21 21:13:06.007902');
INSERT INTO "public"."user_data_map" VALUES (1, 10, 10, 'TRUE', '2020-06-21 21:14:13.680576');
INSERT INTO "public"."user_data_map" VALUES (3, 30, 10, 'TRUE', '2020-06-21 21:14:22.116003');
INSERT INTO "public"."user_data_map" VALUES (2, 20, 10, 'FALSE', '2020-06-21 21:47:09.580874');
INSERT INTO "public"."user_data_map" VALUES (6, 30, 20, 'FALSE', '2020-06-23 17:10:04.467554');
-- ----------------------------
-- Table structure for user_data_role
-- ----------------------------
......@@ -395,6 +564,14 @@ CREATE TABLE "public"."user_data_role" (
)
;
-- ----------------------------
-- Records of user_data_role
-- ----------------------------
INSERT INTO "public"."user_data_role" VALUES (1, 'MASTER', 10, 'BISA SAGALA EDANS');
INSERT INTO "public"."user_data_role" VALUES (2, 'ADMIN', 20, 'ADMIN');
INSERT INTO "public"."user_data_role" VALUES (3, 'REGIONAL', 30, 'EDAN1');
INSERT INTO "public"."user_data_role" VALUES (4, 'WITEL', 40, 'UWU');
-- ----------------------------
-- Table structure for user_data_session
-- ----------------------------
......@@ -410,15 +587,12 @@ CREATE TABLE "public"."user_data_session" (
;
-- ----------------------------
-- Table structure for waktu
-- Records of user_data_session
-- ----------------------------
DROP TABLE IF EXISTS "public"."waktu";
CREATE TABLE "public"."waktu" (
"id_waktu" int4 NOT NULL,
"start_time" time(6),
"end_time" time(6)
)
;
INSERT INTO "public"."user_data_session" VALUES ('u8q6kpsk5pif3445nr1ej9b3m7', 'KHANSIA', 1600742363, 86400, '__ZF|a:4:{s:20:"_REQUEST_ACCESS_TIME";d:1600742363.316467;s:6:"_VALID";a:1:{s:25:"Zend\Session\Validator\Id";s:26:"u8q6kpsk5pif3445nr1ej9b3m7";}s:3:"_LT";i:86400;s:3:"_LA";i:1600742363;}__KHANSIA|a:1:{s:14:"token_keamanan";s:32:"b54cb79bf5604b3d39cefb9ebe3dbb99";}', NULL);
INSERT INTO "public"."user_data_session" VALUES ('it28rc4rbdnt4l9qrrvicandnn', 'KHANSIA', 1600745683, 86400, '__ZF|a:5:{s:20:"_REQUEST_ACCESS_TIME";d:1600745683.935894;s:6:"_VALID";a:1:{s:25:"Zend\Session\Validator\Id";s:26:"it28rc4rbdnt4l9qrrvicandnn";}s:3:"_LT";i:86400;s:3:"_LA";i:1600745683;s:6:"_OWNER";s:1:"2";}__KHANSIA|a:14:{s:14:"token_keamanan";s:32:"271be47d8b807ba70ee152ec1acb20b0";s:7:"baseurl";s:18:"//skeleton16.indra";s:7:"user_id";s:1:"2";s:9:"usernamed";s:5:"admin";s:6:"passwd";s:32:"21232f297a57a5a743894a0e4a801fc3";s:4:"name";s:5:"Atang";s:4:"role";s:2:"10";s:6:"status";s:2:"10";s:8:"deviceid";N;s:5:"token";N;s:7:"retries";s:4:"NULL";s:10:"create_dtm";s:19:"2017-08-10 10:29:40";s:6:"access";a:0:{}s:9:"role_code";s:1:"E";}', '2');
INSERT INTO "public"."user_data_session" VALUES ('o9k9a6554nna0uufbidq8spu8s', 'KHANSIA', 1600744418, 86400, '__ZF|a:5:{s:20:"_REQUEST_ACCESS_TIME";d:1600744417.995555;s:6:"_VALID";a:1:{s:25:"Zend\Session\Validator\Id";s:26:"o9k9a6554nna0uufbidq8spu8s";}s:3:"_LT";i:86400;s:3:"_LA";i:1600744418;s:6:"_OWNER";s:1:"2";}__KHANSIA|a:14:{s:14:"token_keamanan";s:32:"bf07fef87743e59cc750ac97f66ee3c1";s:7:"baseurl";s:18:"//skeleton15.indra";s:7:"user_id";s:1:"2";s:9:"usernamed";s:5:"admin";s:6:"passwd";s:32:"21232f297a57a5a743894a0e4a801fc3";s:4:"name";s:5:"Atang";s:4:"role";s:2:"10";s:6:"status";s:2:"10";s:8:"deviceid";N;s:5:"token";N;s:7:"retries";s:4:"NULL";s:10:"create_dtm";s:19:"2017-08-10 10:29:40";s:6:"access";a:0:{}s:9:"role_code";s:1:"E";}', '2');
INSERT INTO "public"."user_data_session" VALUES ('8e7im25fc6a2i57hc5mee01ugp', 'KHANSIA', 1600766955, 86400, '__ZF|a:5:{s:20:"_REQUEST_ACCESS_TIME";d:1600766955.256857;s:6:"_VALID";a:1:{s:25:"Zend\Session\Validator\Id";s:26:"8e7im25fc6a2i57hc5mee01ugp";}s:3:"_LT";i:86400;s:3:"_LA";i:1600766955;s:6:"_OWNER";s:1:"2";}__KHANSIA|a:14:{s:14:"token_keamanan";s:32:"cfa97a952b0b994a6264a4ac1f5c6ced";s:7:"baseurl";s:16:"//frontend.indra";s:7:"user_id";s:1:"2";s:9:"usernamed";s:5:"admin";s:6:"passwd";s:32:"21232f297a57a5a743894a0e4a801fc3";s:4:"name";s:5:"Atang";s:4:"role";s:2:"10";s:6:"status";s:2:"10";s:8:"deviceid";N;s:5:"token";N;s:7:"retries";s:4:"NULL";s:10:"create_dtm";s:19:"2017-08-10 10:29:40";s:6:"access";a:0:{}s:9:"role_code";s:1:"E";}', '2');
-- ----------------------------
-- Function structure for get_antrian_self
......@@ -560,77 +734,63 @@ $BODY$
-- ----------------------------
ALTER SEQUENCE "public"."antrian_id_antrian"
OWNED BY "public"."antrian"."id_antrian";
SELECT setval('"public"."antrian_id_antrian"', 1726, true);
SELECT setval('"public"."antrian_id_antrian"', 1815, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."dokter\_id_dokter_seq"
OWNED BY "public"."dokter"."id_dokter";
SELECT setval('"public"."dokter\_id_dokter_seq"', 13, true);
SELECT setval('"public"."dokter\_id_dokter_seq"', 18, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."id_antrian_seq"
OWNED BY "public"."register_dokter"."id_register";
SELECT setval('"public"."id_antrian_seq"', 211, true);
SELECT setval('"public"."id_antrian_seq"', 219, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."id_antrian_seq2"
OWNED BY "public"."antrian_pasien"."id_antrian";
SELECT setval('"public"."id_antrian_seq2"', 1726, true);
SELECT setval('"public"."id_antrian_seq2"', 1815, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."id_ruang_seq"
OWNED BY "public"."ruang"."id_ruang";
SELECT setval('"public"."id_ruang_seq"', 10, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."pasien_id_pasien_seq"
OWNED BY "public"."antrian_pasien"."id_pasien";
SELECT setval('"public"."pasien_id_pasien_seq"', 33, true);
SELECT setval('"public"."pasien_id_pasien_seq"', 34, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."poli_id_poli_seq"
OWNED BY "public"."poli"."id_poli";
SELECT setval('"public"."poli_id_poli_seq"', 4, false);
SELECT setval('"public"."poli_id_poli_seq"', 6, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."register_antrian_id_register"
OWNED BY "public"."register_antrian"."id_register";
SELECT setval('"public"."register_antrian_id_register"', 206, true);
SELECT setval('"public"."register_antrian_id_register"', 214, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."user_data_header_iduser_seq"
OWNED BY "public"."user_data_header"."iduser";
SELECT setval('"public"."user_data_header_iduser_seq"', 13, true);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."user_data_header_iduser_seq1"
OWNED BY "public"."user_data_header"."iduser";
SELECT setval('"public"."user_data_header_iduser_seq1"', 4, false);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."user_data_header_iduser_seq2"
OWNED BY "public"."user_data_header"."iduser";
SELECT setval('"public"."user_data_header_iduser_seq2"', 3, false);
-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."user_data_header_iduser_seq3"
OWNED BY "public"."user_data_header"."iduser";
SELECT setval('"public"."user_data_header_iduser_seq3"', 2, false);
SELECT setval('"public"."user_data_header_iduser_seq"', 2, false);
-- ----------------------------
-- Primary Key structure for table condition
......@@ -745,8 +905,3 @@ ALTER TABLE "public"."user_data_role" ADD CONSTRAINT "user_data_role_pkey" PRIMA
-- Primary Key structure for table user_data_session
-- ----------------------------
ALTER TABLE "public"."user_data_session" ADD CONSTRAINT "user_data_session_pkey" PRIMARY KEY ("session_id");
-- ----------------------------
-- Primary Key structure for table waktu
-- ----------------------------
ALTER TABLE "public"."waktu" ADD CONSTRAINT "waktu_pkey" PRIMARY KEY ("id_waktu");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment