COMMENTONCOLUMN"public"."user_data_header"."role"IS'RELATION WITH TB: USER_DATA_ROLE';
COMMENTONCOLUMN"public"."user_data_header"."status"IS'SET STATUS USER: ';
-- ----------------------------
-- Records of user_data_header
-- ----------------------------
INSERTINTO"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);
INSERTINTO"public"."master_parameter"("idm_parameter","param_type","param_val1","param_val2","param_val3","param_desc","param_parent")VALUES(1,'USER_STATUS','ACTIVE','10',NULL,'USER ACTIVE GANS',NULL),(2,'USER_STATUS','NOT ACTIVE','20',NULL,'USER NOT ACTIVE GANS',NULL),(3,'USER_STATUS','BLOCKED','30',NULL,'USER NA DIBLOCK',NULL),(4,'INPUT_TYPE','INPUT','1',NULL,NULL,NULL),(5,'INPUT_TYPE','TEXTAREA','2',NULL,NULL,NULL),(6,'INPUT_OPTION','SELECT_OPTION','3',NULL,NULL,NULL),(7,'INPUT_RADIO','RADION_BUTTON','4',NULL,NULL,NULL),(8,'TYPE_DATA','I_VARCHAR','1',NULL,'JENIS INPUTAN VARCHAR',NULL),(9,'TYPE_DATA','I_NUMBER','2',NULL,'JENIS INPUTAN NUMBER',NULL);
INSERTINTO"public"."user_data_access"("access_id","access_name","access_type","access_code","access_desc","access_action","access_controller")VALUES(1,'DELETE TEST DATA','ACTION',10,'TEST FUNCTION',NULL,NULL),(2,'MENU TEST DATA','MENU',20,'TEST MENU',NULL,NULL),(3,'USER MANAGEMENT','MENU',30,'MENU USER MANAMEGENT','usermanagement','UserController');
INSERTINTO"public"."user_data_role"("access_role_id","name","access_role_code","description")VALUES(1,'MASTER',10,'BISA SAGALA EDANS'),(2,'ADMIN',20,'ADMIN'),(3,'REGIONAL',30,'EDAN1'),(4,'WITEL',40,'UWU');
-- Foreign Keys structure for table dokter_to_poli
-- ----------------------------
ALTERTABLE"public"."dokter_to_poli"ADDCONSTRAINT"dokter to poli"FOREIGNKEY("id_poli")REFERENCES"public"."poli"("id_poli")ONDELETENOACTIONONUPDATENOACTION;