| Current Path : /var/www/html/mmishra/indem/phq-bak/ |
| Current File : /var/www/html/mmishra/indem/phq-bak/upp.sql |
-- MySQL dump 9.10
--
-- Host: localhost Database: upp
-- ------------------------------------------------------
-- Server version 4.0.17-standard-log
--
-- Table structure for table `access_log`
--
CREATE TABLE access_log (
id int(11) NOT NULL auto_increment,
login_name varchar(10) NOT NULL default '',
system_ip varchar(15) default 'localhost',
page_url varchar(255) default NULL,
access_time datetime default '0000-00-00 00:00:00',
PRIMARY KEY (id)
) TYPE=MyISAM;
--
-- Dumping data for table `access_log`
--
--
-- Table structure for table `enumerated`
--
CREATE TABLE enumerated (
id int(11) NOT NULL auto_increment,
code varchar(20) NOT NULL default '',
value_e varchar(50) NOT NULL default '',
value_h varchar(50) NOT NULL default '',
date_update datetime default '0000-00-00 00:00:00',
PRIMARY KEY (id),
UNIQUE KEY code (code,value_e,value_h)
) TYPE=MyISAM;
--
-- Dumping data for table `enumerated`
--
INSERT INTO enumerated VALUES (1,'zone','b','kamala','2006-09-13 13:21:03');
INSERT INTO enumerated VALUES (2,'zone','a','abcdefghijklmnopqrstuvwxyz','2006-09-13 13:21:23');
INSERT INTO enumerated VALUES (3,'range','x','x','2006-09-13 13:16:54');
INSERT INTO enumerated VALUES (4,'zone','adrbt','aacfrth','2006-09-13 13:22:03');
INSERT INTO enumerated VALUES (5,'district','adrbt','aacfrth','2006-09-13 13:25:38');
INSERT INTO enumerated VALUES (6,'phq','adrbt','aacfrth','2006-09-13 13:25:52');
INSERT INTO enumerated VALUES (7,'zone','zzzz','zzzzzzzxxxxxxxxxxxxx','2006-09-13 15:04:55');
--
-- Table structure for table `information`
--
CREATE TABLE information (
id int(11) NOT NULL auto_increment,
code varchar(20) NOT NULL default '',
title varchar(255) NOT NULL default '',
content longtext,
date_update datetime default '0000-00-00 00:00:00',
PRIMARY KEY (id),
UNIQUE KEY title (title),
UNIQUE KEY code (code)
) TYPE=MyISAM;
--
-- Dumping data for table `information`
--
INSERT INTO information VALUES (1,'code_of_conduct','Code of Conduct for UPP','Persons joining police department in Uttar Pradesh are governed under following rules and regulations.\r\n<p>UP Police persons are expected to maintain their standard as per listed norms:\r\n<p>\r\n<ul>\r\n<li>xxx</li>\r\n<li>yyy</li>\r\n<li>zzz</li>\r\n</ul>','2006-09-13 12:31:28');
INSERT INTO information VALUES (2,'service_rule','UPP Service Rules','These are the basic rules of UPP service.','2006-09-13 00:00:00');
INSERT INTO information VALUES (3,'police_structure','UPP Structure','<center>\r\nDGP<p>\r\nIG----IG----IG<p>\r\nDIG--DIG--DIG<p>\r\nSSP--SSP--SSP<p>','2006-09-13 00:00:00');
INSERT INTO information VALUES (4,'medals_for_upp','Medals for UPP','These are the medals for honoring the service and act of a brilliant police person\r\n<ol>\r\n<li>\r\n<li>\r\n<li>\r\n<li>\r\n<li>\r\n</ol>','2006-09-13 15:05:43');
INSERT INTO information VALUES (5,'retirement_benefit','Retirement Benefits','A police person avails these benefits after his/her glorious service period and retirement.\r\n<ol>\r\n<li>\r\n<li>\r\n<li>\r\n<li>\r\n</ol>','2006-09-13 00:00:00');
--
-- Table structure for table `profiles`
--
CREATE TABLE profiles (
id int(11) NOT NULL auto_increment,
code varchar(20) NOT NULL default '',
pp_no varchar(20) NOT NULL default '',
name varchar(30) NOT NULL default '',
date_birth date default NULL,
address varchar(255) default NULL,
cadre varchar(50) NOT NULL default '',
rank varchar(50) default NULL,
honors varchar(255) default NULL,
postings longtext,
note longtext,
message longtext,
date_update datetime default '0000-00-00 00:00:00',
PRIMARY KEY (id,pp_no),
UNIQUE KEY code (code),
UNIQUE KEY pp_no (pp_no)
) TYPE=MyISAM;
--
-- Dumping data for table `profiles`
--
INSERT INTO profiles VALUES (1,'dgp','1','Sri. Bua Singh','1947-06-15','Lucknow','I.P.S. RR.(1973)','Director General of Police,U.P.','PM-15/8/84, PPM-26/1-90','','test','message','0000-00-00 00:00:00');
--
-- Table structure for table `training`
--
CREATE TABLE training (
id int(11) NOT NULL auto_increment,
code varchar(20) NOT NULL default '',
title varchar(255) NOT NULL default '',
date_from date NOT NULL default '0000-00-00',
date_to date default '0000-00-00',
resource_person varchar(255) default NULL,
content longtext,
participants longtext,
date_expiry date default '0000-00-00',
PRIMARY KEY (id),
UNIQUE KEY code (code)
) TYPE=MyISAM;
--
-- Dumping data for table `training`
--
INSERT INTO training VALUES (1,'website','Web site hosting and training','0000-00-00','0000-00-00','IIITA Developers','Home page, Admin page, Operators page management','PHQ Officers and concerned staff','2006-10-16');
--
-- Table structure for table `users`
--
CREATE TABLE users (
id int(11) NOT NULL auto_increment,
login_name varchar(10) NOT NULL default '',
full_name varchar(30) default NULL,
password varchar(30) default NULL,
role enum('admin','operator','guest') default 'guest',
system_ip varchar(15) default 'localhost',
last_login datetime default '0000-00-00 00:00:00',
PRIMARY KEY (id,login_name)
) TYPE=MyISAM;
--
-- Dumping data for table `users`
--
INSERT INTO users VALUES (1,'mmishra','Mithilesh Mishra','60671c896665c3fa','admin','172.31.2.4','2006-09-09 17:49:28');
INSERT INTO users VALUES (2,'ajay','Ajay Kumar Jha','60671c896665c3fa','operator','172.31.2.4','0000-00-00 00:00:00');