-- --------------------------------------------------------
-- Host:                         127.0.0.1
-- Server version:               11.4.4-MariaDB - mariadb.org binary distribution
-- Server OS:                    Win64
-- HeidiSQL Version:             12.10.0.7000
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;


-- Dumping database structure for emt3_web_db
CREATE DATABASE IF NOT EXISTS `emt3_web_db` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci */;
USE `emt3_web_db`;

-- Dumping structure for table emt3_web_db.task_items
CREATE TABLE IF NOT EXISTS `task_items` (
  `TASK_ITEM_ID` varchar(7) NOT NULL,
  `TASK_ID` varchar(7) NOT NULL,
  `PROJECT_ID` varchar(7) NOT NULL,
  `APPLICATION` varchar(255) DEFAULT NULL,
  `APP_VERSION` varchar(50) DEFAULT NULL,
  `TASK_DATE` date DEFAULT NULL,
  `REPORTED_BY` varchar(50) DEFAULT NULL,
  `ASSIGNED_TO` varchar(50) DEFAULT NULL,
  `STATUS` varchar(100) DEFAULT NULL,
  `STATUS_DATE` date DEFAULT NULL,
  `FIXED_VERSION` varchar(50) DEFAULT NULL,
  `FORM_SECTION` varchar(255) DEFAULT NULL,
  `ISSUE` varchar(1000) DEFAULT NULL,
  `NOTES` varchar(1000) DEFAULT NULL,
  PRIMARY KEY (`TASK_ITEM_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table emt3_web_db.task_items: ~3 rows (approximately)
INSERT INTO `task_items` (`TASK_ITEM_ID`, `TASK_ID`, `PROJECT_ID`, `APPLICATION`, `APP_VERSION`, `TASK_DATE`, `REPORTED_BY`, `ASSIGNED_TO`, `STATUS`, `STATUS_DATE`, `FIXED_VERSION`, `FORM_SECTION`, `ISSUE`, `NOTES`) VALUES
	('TI00001', 'TK00001', 'WPR0001', 'webPoliceReports - Client', '0.9.4', '2025-11-20', 'Mac', 'Mac', 'Fixed - Verified', NULL, '', 'Theft From Vehicle', 'if yes on theft report for property taken from vehicle then it should say please start over and submit a theft from vehicle report instead', ''),
	('TI00002', 'TK00002', 'WPR0001', 'webPoliceReports - Client', '0.9.4', '2025-11-21', 'Mark', 'Mac', 'Fixed - Verified', '2025-11-24', '', '', 'date of birth for app title on person info form', ''),
	('TI00003', 'TK00003', 'WPR0001', 'webPoliceReports - Client', '0.9.4', '2025-12-03', 'Mark', 'Mac', 'Fixed', NULL, '', 'Property', 'Make Property Type invisible (and not required) for CHE, but leave as is for BUF. Move Description up where Type is (it can be the second field for BUF) and make it maybe 30-40% longer.', '');

-- Dumping structure for table emt3_web_db.users
CREATE TABLE IF NOT EXISTS `users` (
  `USER_ID` int(11) NOT NULL,
  `USER_NAME` varchar(56) NOT NULL,
  `PASSWORD` varchar(128) DEFAULT NULL,
  `NAME` varchar(40) DEFAULT NULL,
  `STATUS` varchar(7) DEFAULT NULL,
  `EMAIL` varchar(50) DEFAULT NULL,
  `ACCESS_TYPE` varchar(5) DEFAULT NULL,
  `SYSTEM_RIGHTS` int(11) DEFAULT 0,
  `PERSPECTIVE_ID` varchar(128) DEFAULT NULL,
  `QB_ID` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`USER_ID`),
  UNIQUE KEY `USER_NAME` (`USER_NAME`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- Dumping data for table emt3_web_db.users: ~22 rows (approximately)
INSERT INTO `users` (`USER_ID`, `USER_NAME`, `PASSWORD`, `NAME`, `STATUS`, `EMAIL`, `ACCESS_TYPE`, `SYSTEM_RIGHTS`, `PERSPECTIVE_ID`, `QB_ID`) VALUES
	(1000, 'elias', '59FF8A48704AF2DA7AFAD7ABFC892E64EDC0FD620A32805CA8DA9B7858230CDDC478CA72B948DCFF172D9C137E52D0F6E44455BA8758B8618C34E52755A8EED3', 'Elias Sarraf', 'ACTIVE', 'esarraf@em-sys.net', 'ADMIN', NULL, 'net.emsys.koehlergibson.KGUserPerspective', NULL),
	(1011, 'mike', '459BEDD27E76356DA69EF9E4CEF62846C9B8D84CAA01652C6DCDC1E6CFBB6FA9ABC9C68DAE6AAC2DC25AAE4E304899BDC5ECEF116A091B00099E9AF12667AB40', 'Mike Brachmann', 'ACTIVE', 'mbrachmann@em-sys.net', 'ADMIN', NULL, 'net.emsys.koehlergibson.KGAdminPerspective', 'AM'),
	(1012, 'dave', '722AE80CA31E9635F9B482909F67FA297023EDC1DCA7C839471456DF7B1442F8C57229B6E0A3AB5C0D9D2C5124BAA10E36EF8168ECA807578CCAB9C0C3FCA667', 'JA', 'ACTIVE', NULL, 'ADMIN', NULL, 'net.emsys.koehlergibson.KGAdminPerspective', NULL),
	(1013, 'JeffS', '4DC2C9BFF1AF28CE3FB625FE67D768F03E0CE8BDEAFD3AF1F6FB5BA01BBFA8BB59991EFC58E60F8178B044AB04AE6AD3D383F97E5B28CCBF251B3C9735253CC5', 'DM', 'ACTIVE', NULL, 'SALES', NULL, 'net.emsys.koehlergibson.KGSalesUserPerspective', NULL),
	(1014, 'AndrewM', '6BBD31EEE3AFF3B524F48D07B516A0B0155F4AF5CAB73F1281DE2FE77D601F399310BCFDEDBCF12F588C7658442C761AF251B385E3856CB7AC1DD9758B54A96E', 'AM', 'INACT', NULL, 'SALES', NULL, 'net.emsys.koehlergibson.KGSalesUserPerspective', 'AM'),
	(1015, 'admin1', 'A19B31E4D2A611EC446B0147434F9CFD5B9AFAABBF9BD844AA82453268A8DDC853B61C90C3D055C843BA03D3A1212F0957E144FBBD8C72A6BF24D01267A40F32', 'Admin 1', 'ACTIVE', NULL, 'ADMIN', 0, 'net.emsys.koehlergibson.KGAdminPerspective', NULL),
	(1016, 'user3', '87CEFC4978E75E4E89EE31BDC0DE450CD201D61552A637B19C06682C548EEB5A730F0F47CC5AC0932C8389E0AD8F047A49C9AC444862415A43E1FB0A19409E11', 'User 3', 'INACT', NULL, 'SALES', NULL, 'net.emsys.koehlergibson.KGSalesUserPerspective', NULL),
	(1017, 'user4', '7D307D5A6A02DB1192FD29B09D262B12A9C9EF02125814179691823B88BF672BA071D2EC36BD826E94AB62B258F7871F3820827C348F72BAC516C65698E3D06A', 'User Four', 'INACT', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGUserPerspective', NULL),
	(1018, 'admin2', '1C6476600B2F45468F82BE411606ABB4844B8691CC873920D895CE433B7D716E79743279DF0D073FB77DC1869C5F6A61D76041FE40ABD3DF46F44F24327B413C', 'Admin 2', 'ACTIVE', NULL, 'ADMIN', NULL, 'net.emsys.koehlergibson.KGAdminPerspective', NULL),
	(1019, 'user5', '3E12E3A1DC31683D63D47C3EC31332B7A586FFE53EB216C98499822A26C472FCE27210DA97236E3B23507D87DA6CDC57715064ACDF2C50C48B8B7FB95167847E', 'User 5', 'INACT', NULL, 'SALES', NULL, 'net.emsys.koehlergibson.KGSalesUserPerspective', NULL),
	(1020, 'user6', '45E6799B5AFAD0228AD2257570E495959FB73EBED646EE47F5176E8CC27529E3DA0C965CD20512BA0BDE11703D09F6733FED796056D98D1940AD102E4BCE7668', 'User 6', 'INACT', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGUserPerspective', NULL),
	(1021, 'user7', '953F8659BFBD177F606D7F67D0E3B11976D5628EBA49DE1E4FB80D5377E580178E85B89D766941D384C2D145576D5F3848C327F78CF802F054AC11C603DA784E', 'User 7', 'INACT', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGUserPerspective', NULL),
	(1022, 'user8', '3E44F157EA813EC5A08AAEE7F3428F137527CA9FFADAFBA96AC51E0097C889128BC9ED2F71A4153EF870E4EF7C981C2636FA83CAA5D7DD9A5C1DD350A4655B7D', 'User 8', 'INACT', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGUserPerspective', NULL),
	(1023, 'newuser', 'F9A607A9D1EDF8F5F8C823B1DD3A00A3C2D0B31A174D62EEA3FA8066DAB01A0CC068BAF3B5DD1AD1C2E513EF3DF9FFCDDAAB873E551965F589B9F75A34DE5F64', 'New User', 'INACT', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGOfficeUserPerspective', 'NU'),
	(1025, 'LINDAS', '80549D3E07327CA4C50270761B48E3EA3F7AE1F94FC3733D05BFF676BAB1CF53F57235EF2CCE7BB42796E43A2AB75215D88A31842B60F942FDEBB34F0101E37C', 'LINDA', 'ACTIVE', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGOfficeUserPerspective', NULL),
	(1026, 'JohnZ', 'AA2B5BA53CB1549A7992968E223F86998D9729400902CF8A208E2702447391B5C146E9404E4A6924761D75D88DE3C33C8008CFC095ECE80959FFEDF1E8E2D2B8', 'John Zubler', 'ACTIVE', NULL, 'ADMIN', NULL, 'net.emsys.koehlergibson.KGAdminPerspective', NULL),
	(1027, 'Wendy', '2CA6F2B9A9F776B3B333A7DC70058183A4D3C1DF6EFF014358D1E79F7FAF8A4E5F6E7A26763B03C259338FA44C03E4450FC8FBD7C4D58D0494E1DA69F0344911', 'Wendy Graf', 'ACTIVE', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGOfficeUserPerspective', NULL),
	(1028, 'Barb', '617A0FBF4858CF605691366FF73E4EC2C91521092ADA3E121E84B0CF82F27CB6C3111CB4B3DA01006FD56A54F6935947C4A3E364D530FF0CEC6757C417E8954F', 'Barb Sroka', 'ACTIVE', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGOfficeUserPerspective', NULL),
	(1029, 'SteveL', '937F149C0981D7F9B5F4311606AAFF36ED09686ABEEB99F96ED879744CC6FF49112D5A169BF79C6D83786AB210E443F8AD601CB495B64E3C67AFFEAD27029A52', 'Steve Lantzas', 'ACTIVE', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGOfficeUserPerspective', NULL),
	(1031, 'Andrew', '38B254808756E93FCF0C055F549765429C3492E22B0AE8FEFE12C3B452362A0903F420145E1C9F73190381E13FE0D9B9DD6C8050892DF524FCEB5DB4161A3218', 'Andrew Malo', NULL, NULL, 'SALES', NULL, 'net.emsys.koehlergibson.KGSalesUserPerspective', 'AM'),
	(1032, 'PamB', '3EBAD7194CD522196F7F495CDACEC46187A57DAB09DB7D8F9F0A31D086122D216CBF3CDA09FEC38FE3E920D14922593F298607537563776ECD4DF277FA3CE0EB', 'Pam Bates', 'ACTIVE', NULL, 'USER', NULL, 'net.emsys.koehlergibson.KGOfficeUserPerspective', ''),
	(1033, 'JENNYR', 'F293278C50F224617541D7FB046FD03378E3BA06542FA1488120699160634B3B194D3D7A51D2DCEE5DD71739AFAC5EDA6C12B9BAA4E95E69C2873F73EE75B7B5', 'Jenny', 'ACTIVE', NULL, 'ADMIN', NULL, 'net.emsys.koehlergibson.KGAdminPerspective', '');

/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;
