-
Notifications
You must be signed in to change notification settings - Fork 1
/
cns.sql
2783 lines (2469 loc) · 131 KB
/
cns.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: May 03, 2020 at 07:44 PM
-- Server version: 5.7.26
-- PHP Version: 7.2.18
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `cns`
--
-- --------------------------------------------------------
--
-- Table structure for table `airport`
--
DROP TABLE IF EXISTS `airport`;
CREATE TABLE IF NOT EXISTS `airport` (
`a_id` int(11) NOT NULL,
`name` varchar(20) DEFAULT NULL,
`altitude` int(6) DEFAULT NULL,
`area` float DEFAULT NULL,
`dgm_id` int(5) DEFAULT NULL,
`longitude` varchar(10) DEFAULT NULL,
`latitude` varchar(10) DEFAULT NULL,
`code` varchar(3) DEFAULT NULL,
PRIMARY KEY (`a_id`),
UNIQUE KEY `dm_id` (`dgm_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `airport`
--
INSERT INTO `airport` (`a_id`, `name`, `altitude`, `area`, `dgm_id`, `longitude`, `latitude`, `code`) VALUES
(1, 'Vadodara', 129, 149, 2102, '22.3325', '73.2171', 'BDQ'),
(2, 'Dabolim', 132, 121, 2121, '15.3803', '73.8350', 'GOI'),
(3, 'Sahar', 142, 125, 2111, '19.0896', '72.8656', 'BOM'),
(4, 'Delhi', 151, 120, 2131, '28.5562', '77.1000', 'DEL');
-- --------------------------------------------------------
--
-- Table structure for table `auth_group`
--
DROP TABLE IF EXISTS `auth_group`;
CREATE TABLE IF NOT EXISTS `auth_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(150) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `auth_group_permissions`
--
DROP TABLE IF EXISTS `auth_group_permissions`;
CREATE TABLE IF NOT EXISTS `auth_group_permissions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`group_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_group_permissions_group_id_permission_id_0cd325b0_uniq` (`group_id`,`permission_id`),
KEY `auth_group_permissions_group_id_b120cbf9` (`group_id`),
KEY `auth_group_permissions_permission_id_84c5c92e` (`permission_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `auth_permission`
--
DROP TABLE IF EXISTS `auth_permission`;
CREATE TABLE IF NOT EXISTS `auth_permission` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`content_type_id` int(11) NOT NULL,
`codename` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_permission_content_type_id_codename_01ab375a_uniq` (`content_type_id`,`codename`),
KEY `auth_permission_content_type_id_2f476e4b` (`content_type_id`)
) ENGINE=MyISAM AUTO_INCREMENT=249 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `auth_permission`
--
INSERT INTO `auth_permission` (`id`, `name`, `content_type_id`, `codename`) VALUES
(1, 'Can add airport', 1, 'add_airport'),
(2, 'Can change airport', 1, 'change_airport'),
(3, 'Can delete airport', 1, 'delete_airport'),
(4, 'Can view airport', 1, 'view_airport'),
(5, 'Can add cdvordaily', 2, 'add_cdvordaily'),
(6, 'Can change cdvordaily', 2, 'change_cdvordaily'),
(7, 'Can delete cdvordaily', 2, 'delete_cdvordaily'),
(8, 'Can view cdvordaily', 2, 'view_cdvordaily'),
(9, 'Can add cdvormonthly', 3, 'add_cdvormonthly'),
(10, 'Can change cdvormonthly', 3, 'change_cdvormonthly'),
(11, 'Can delete cdvormonthly', 3, 'delete_cdvormonthly'),
(12, 'Can view cdvormonthly', 3, 'view_cdvormonthly'),
(13, 'Can add cdvorweekly', 4, 'add_cdvorweekly'),
(14, 'Can change cdvorweekly', 4, 'change_cdvorweekly'),
(15, 'Can delete cdvorweekly', 4, 'delete_cdvorweekly'),
(16, 'Can view cdvorweekly', 4, 'view_cdvorweekly'),
(17, 'Can add communication', 5, 'add_communication'),
(18, 'Can change communication', 5, 'change_communication'),
(19, 'Can delete communication', 5, 'delete_communication'),
(20, 'Can view communication', 5, 'view_communication'),
(21, 'Can add datisdaily', 6, 'add_datisdaily'),
(22, 'Can change datisdaily', 6, 'change_datisdaily'),
(23, 'Can delete datisdaily', 6, 'delete_datisdaily'),
(24, 'Can view datisdaily', 6, 'view_datisdaily'),
(25, 'Can add datisweekly', 7, 'add_datisweekly'),
(26, 'Can change datisweekly', 7, 'change_datisweekly'),
(27, 'Can delete datisweekly', 7, 'delete_datisweekly'),
(28, 'Can view datisweekly', 7, 'view_datisweekly'),
(29, 'Can add dgm', 8, 'add_dgm'),
(30, 'Can change dgm', 8, 'change_dgm'),
(31, 'Can delete dgm', 8, 'delete_dgm'),
(32, 'Can view dgm', 8, 'view_dgm'),
(33, 'Can add dmedaily', 9, 'add_dmedaily'),
(34, 'Can change dmedaily', 9, 'change_dmedaily'),
(35, 'Can delete dmedaily', 9, 'delete_dmedaily'),
(36, 'Can view dmedaily', 9, 'view_dmedaily'),
(37, 'Can add dmemonthly', 10, 'add_dmemonthly'),
(38, 'Can change dmemonthly', 10, 'change_dmemonthly'),
(39, 'Can delete dmemonthly', 10, 'delete_dmemonthly'),
(40, 'Can view dmemonthly', 10, 'view_dmemonthly'),
(41, 'Can add dmeweekly', 11, 'add_dmeweekly'),
(42, 'Can change dmeweekly', 11, 'change_dmeweekly'),
(43, 'Can delete dmeweekly', 11, 'delete_dmeweekly'),
(44, 'Can view dmeweekly', 11, 'view_dmeweekly'),
(45, 'Can add dscndaily', 12, 'add_dscndaily'),
(46, 'Can change dscndaily', 12, 'change_dscndaily'),
(47, 'Can delete dscndaily', 12, 'delete_dscndaily'),
(48, 'Can view dscndaily', 12, 'view_dscndaily'),
(49, 'Can add dscnmonthly', 13, 'add_dscnmonthly'),
(50, 'Can change dscnmonthly', 13, 'change_dscnmonthly'),
(51, 'Can delete dscnmonthly', 13, 'delete_dscnmonthly'),
(52, 'Can view dscnmonthly', 13, 'view_dscnmonthly'),
(53, 'Can add dscnweekly', 14, 'add_dscnweekly'),
(54, 'Can change dscnweekly', 14, 'change_dscnweekly'),
(55, 'Can delete dscnweekly', 14, 'delete_dscnweekly'),
(56, 'Can view dscnweekly', 14, 'view_dscnweekly'),
(57, 'Can add engineer', 15, 'add_engineer'),
(58, 'Can change engineer', 15, 'change_engineer'),
(59, 'Can delete engineer', 15, 'delete_engineer'),
(60, 'Can view engineer', 15, 'view_engineer'),
(61, 'Can add head', 16, 'add_head'),
(62, 'Can change head', 16, 'change_head'),
(63, 'Can delete head', 16, 'delete_head'),
(64, 'Can view head', 16, 'view_head'),
(65, 'Can add issues', 17, 'add_issues'),
(66, 'Can change issues', 17, 'change_issues'),
(67, 'Can delete issues', 17, 'delete_issues'),
(68, 'Can view issues', 17, 'view_issues'),
(69, 'Can add navigation', 18, 'add_navigation'),
(70, 'Can change navigation', 18, 'change_navigation'),
(71, 'Can delete navigation', 18, 'delete_navigation'),
(72, 'Can view navigation', 18, 'view_navigation'),
(73, 'Can add ndbdaily', 19, 'add_ndbdaily'),
(74, 'Can change ndbdaily', 19, 'change_ndbdaily'),
(75, 'Can delete ndbdaily', 19, 'delete_ndbdaily'),
(76, 'Can view ndbdaily', 19, 'view_ndbdaily'),
(77, 'Can add ndbmonthly', 20, 'add_ndbmonthly'),
(78, 'Can change ndbmonthly', 20, 'change_ndbmonthly'),
(79, 'Can delete ndbmonthly', 20, 'delete_ndbmonthly'),
(80, 'Can view ndbmonthly', 20, 'view_ndbmonthly'),
(81, 'Can add ndbweekly', 21, 'add_ndbweekly'),
(82, 'Can change ndbweekly', 21, 'change_ndbweekly'),
(83, 'Can delete ndbweekly', 21, 'delete_ndbweekly'),
(84, 'Can view ndbweekly', 21, 'view_ndbweekly'),
(85, 'Can add scctvdaily', 22, 'add_scctvdaily'),
(86, 'Can change scctvdaily', 22, 'change_scctvdaily'),
(87, 'Can delete scctvdaily', 22, 'delete_scctvdaily'),
(88, 'Can view scctvdaily', 22, 'view_scctvdaily'),
(89, 'Can add scctvmonthly', 23, 'add_scctvmonthly'),
(90, 'Can change scctvmonthly', 23, 'change_scctvmonthly'),
(91, 'Can delete scctvmonthly', 23, 'delete_scctvmonthly'),
(92, 'Can view scctvmonthly', 23, 'view_scctvmonthly'),
(93, 'Can add scctvweekly', 24, 'add_scctvweekly'),
(94, 'Can change scctvweekly', 24, 'change_scctvweekly'),
(95, 'Can delete scctvweekly', 24, 'delete_scctvweekly'),
(96, 'Can view scctvweekly', 24, 'view_scctvweekly'),
(97, 'Can add supervisor', 25, 'add_supervisor'),
(98, 'Can change supervisor', 25, 'change_supervisor'),
(99, 'Can delete supervisor', 25, 'delete_supervisor'),
(100, 'Can view supervisor', 25, 'view_supervisor'),
(101, 'Can add surveillance', 26, 'add_surveillance'),
(102, 'Can change surveillance', 26, 'change_surveillance'),
(103, 'Can delete surveillance', 26, 'delete_surveillance'),
(104, 'Can view surveillance', 26, 'view_surveillance'),
(105, 'Can add vhfdaily', 27, 'add_vhfdaily'),
(106, 'Can change vhfdaily', 27, 'change_vhfdaily'),
(107, 'Can delete vhfdaily', 27, 'delete_vhfdaily'),
(108, 'Can view vhfdaily', 27, 'view_vhfdaily'),
(109, 'Can add vhfmonthly', 28, 'add_vhfmonthly'),
(110, 'Can change vhfmonthly', 28, 'change_vhfmonthly'),
(111, 'Can delete vhfmonthly', 28, 'delete_vhfmonthly'),
(112, 'Can view vhfmonthly', 28, 'view_vhfmonthly'),
(113, 'Can add vhfyearly', 29, 'add_vhfyearly'),
(114, 'Can change vhfyearly', 29, 'change_vhfyearly'),
(115, 'Can delete vhfyearly', 29, 'delete_vhfyearly'),
(116, 'Can view vhfyearly', 29, 'view_vhfyearly'),
(117, 'Can add log entry', 30, 'add_logentry'),
(118, 'Can change log entry', 30, 'change_logentry'),
(119, 'Can delete log entry', 30, 'delete_logentry'),
(120, 'Can view log entry', 30, 'view_logentry'),
(121, 'Can add permission', 31, 'add_permission'),
(122, 'Can change permission', 31, 'change_permission'),
(123, 'Can delete permission', 31, 'delete_permission'),
(124, 'Can view permission', 31, 'view_permission'),
(125, 'Can add group', 32, 'add_group'),
(126, 'Can change group', 32, 'change_group'),
(127, 'Can delete group', 32, 'delete_group'),
(128, 'Can view group', 32, 'view_group'),
(129, 'Can add user', 33, 'add_user'),
(130, 'Can change user', 33, 'change_user'),
(131, 'Can delete user', 33, 'delete_user'),
(132, 'Can view user', 33, 'view_user'),
(133, 'Can add content type', 34, 'add_contenttype'),
(134, 'Can change content type', 34, 'change_contenttype'),
(135, 'Can delete content type', 34, 'delete_contenttype'),
(136, 'Can view content type', 34, 'view_contenttype'),
(137, 'Can add session', 35, 'add_session'),
(138, 'Can change session', 35, 'change_session'),
(139, 'Can delete session', 35, 'delete_session'),
(140, 'Can view session', 35, 'view_session'),
(141, 'Can add auth group', 36, 'add_authgroup'),
(142, 'Can change auth group', 36, 'change_authgroup'),
(143, 'Can delete auth group', 36, 'delete_authgroup'),
(144, 'Can view auth group', 36, 'view_authgroup'),
(145, 'Can add auth group permissions', 37, 'add_authgrouppermissions'),
(146, 'Can change auth group permissions', 37, 'change_authgrouppermissions'),
(147, 'Can delete auth group permissions', 37, 'delete_authgrouppermissions'),
(148, 'Can view auth group permissions', 37, 'view_authgrouppermissions'),
(149, 'Can add auth permission', 38, 'add_authpermission'),
(150, 'Can change auth permission', 38, 'change_authpermission'),
(151, 'Can delete auth permission', 38, 'delete_authpermission'),
(152, 'Can view auth permission', 38, 'view_authpermission'),
(153, 'Can add auth user', 39, 'add_authuser'),
(154, 'Can change auth user', 39, 'change_authuser'),
(155, 'Can delete auth user', 39, 'delete_authuser'),
(156, 'Can view auth user', 39, 'view_authuser'),
(157, 'Can add auth user groups', 40, 'add_authusergroups'),
(158, 'Can change auth user groups', 40, 'change_authusergroups'),
(159, 'Can delete auth user groups', 40, 'delete_authusergroups'),
(160, 'Can view auth user groups', 40, 'view_authusergroups'),
(161, 'Can add auth user user permissions', 41, 'add_authuseruserpermissions'),
(162, 'Can change auth user user permissions', 41, 'change_authuseruserpermissions'),
(163, 'Can delete auth user user permissions', 41, 'delete_authuseruserpermissions'),
(164, 'Can view auth user user permissions', 41, 'view_authuseruserpermissions'),
(165, 'Can add django admin log', 42, 'add_djangoadminlog'),
(166, 'Can change django admin log', 42, 'change_djangoadminlog'),
(167, 'Can delete django admin log', 42, 'delete_djangoadminlog'),
(168, 'Can view django admin log', 42, 'view_djangoadminlog'),
(169, 'Can add django content type', 43, 'add_djangocontenttype'),
(170, 'Can change django content type', 43, 'change_djangocontenttype'),
(171, 'Can delete django content type', 43, 'delete_djangocontenttype'),
(172, 'Can view django content type', 43, 'view_djangocontenttype'),
(173, 'Can add django migrations', 44, 'add_djangomigrations'),
(174, 'Can change django migrations', 44, 'change_djangomigrations'),
(175, 'Can delete django migrations', 44, 'delete_djangomigrations'),
(176, 'Can view django migrations', 44, 'view_djangomigrations'),
(177, 'Can add django session', 45, 'add_djangosession'),
(178, 'Can change django session', 45, 'change_djangosession'),
(179, 'Can delete django session', 45, 'delete_djangosession'),
(180, 'Can view django session', 45, 'view_djangosession'),
(181, 'Can add datisdlogs', 46, 'add_datisdlogs'),
(182, 'Can change datisdlogs', 46, 'change_datisdlogs'),
(183, 'Can delete datisdlogs', 46, 'delete_datisdlogs'),
(184, 'Can view datisdlogs', 46, 'view_datisdlogs'),
(185, 'Can add datiswlogs', 47, 'add_datiswlogs'),
(186, 'Can change datiswlogs', 47, 'change_datiswlogs'),
(187, 'Can delete datiswlogs', 47, 'delete_datiswlogs'),
(188, 'Can view datiswlogs', 47, 'view_datiswlogs'),
(189, 'Can add dscndlogs', 48, 'add_dscndlogs'),
(190, 'Can change dscndlogs', 48, 'change_dscndlogs'),
(191, 'Can delete dscndlogs', 48, 'delete_dscndlogs'),
(192, 'Can view dscndlogs', 48, 'view_dscndlogs'),
(193, 'Can add vhfdlogs', 49, 'add_vhfdlogs'),
(194, 'Can change vhfdlogs', 49, 'change_vhfdlogs'),
(195, 'Can delete vhfdlogs', 49, 'delete_vhfdlogs'),
(196, 'Can view vhfdlogs', 49, 'view_vhfdlogs'),
(197, 'Can add vhfmlogs', 50, 'add_vhfmlogs'),
(198, 'Can change vhfmlogs', 50, 'change_vhfmlogs'),
(199, 'Can delete vhfmlogs', 50, 'delete_vhfmlogs'),
(200, 'Can view vhfmlogs', 50, 'view_vhfmlogs'),
(201, 'Can add vhfylogs', 51, 'add_vhfylogs'),
(202, 'Can change vhfylogs', 51, 'change_vhfylogs'),
(203, 'Can delete vhfylogs', 51, 'delete_vhfylogs'),
(204, 'Can view vhfylogs', 51, 'view_vhfylogs'),
(205, 'Can add employee', 52, 'add_employee'),
(206, 'Can change employee', 52, 'change_employee'),
(207, 'Can delete employee', 52, 'delete_employee'),
(208, 'Can view employee', 52, 'view_employee'),
(209, 'Can add mcdo', 53, 'add_mcdo'),
(210, 'Can change mcdo', 53, 'change_mcdo'),
(211, 'Can delete mcdo', 53, 'delete_mcdo'),
(212, 'Can view mcdo', 53, 'view_mcdo'),
(213, 'Can add cdvordlogs', 54, 'add_cdvordlogs'),
(214, 'Can change cdvordlogs', 54, 'change_cdvordlogs'),
(215, 'Can delete cdvordlogs', 54, 'delete_cdvordlogs'),
(216, 'Can view cdvordlogs', 54, 'view_cdvordlogs'),
(217, 'Can add cdvorwlogs', 55, 'add_cdvorwlogs'),
(218, 'Can change cdvorwlogs', 55, 'change_cdvorwlogs'),
(219, 'Can delete cdvorwlogs', 55, 'delete_cdvorwlogs'),
(220, 'Can view cdvorwlogs', 55, 'view_cdvorwlogs'),
(221, 'Can add dscnwlogs', 56, 'add_dscnwlogs'),
(222, 'Can change dscnwlogs', 56, 'change_dscnwlogs'),
(223, 'Can delete dscnwlogs', 56, 'delete_dscnwlogs'),
(224, 'Can view dscnwlogs', 56, 'view_dscnwlogs'),
(225, 'Can add dscnmlogs', 57, 'add_dscnmlogs'),
(226, 'Can change dscnmlogs', 57, 'change_dscnmlogs'),
(227, 'Can delete dscnmlogs', 57, 'delete_dscnmlogs'),
(228, 'Can view dscnmlogs', 57, 'view_dscnmlogs'),
(229, 'Can add cdvormlogs', 58, 'add_cdvormlogs'),
(230, 'Can change cdvormlogs', 58, 'change_cdvormlogs'),
(231, 'Can delete cdvormlogs', 58, 'delete_cdvormlogs'),
(232, 'Can view cdvormlogs', 58, 'view_cdvormlogs'),
(233, 'Can add scctvdlogs', 59, 'add_scctvdlogs'),
(234, 'Can change scctvdlogs', 59, 'change_scctvdlogs'),
(235, 'Can delete scctvdlogs', 59, 'delete_scctvdlogs'),
(236, 'Can view scctvdlogs', 59, 'view_scctvdlogs'),
(237, 'Can add scctvmlogs', 60, 'add_scctvmlogs'),
(238, 'Can change scctvmlogs', 60, 'change_scctvmlogs'),
(239, 'Can delete scctvmlogs', 60, 'delete_scctvmlogs'),
(240, 'Can view scctvmlogs', 60, 'view_scctvmlogs'),
(241, 'Can add scctvwlogs', 61, 'add_scctvwlogs'),
(242, 'Can change scctvwlogs', 61, 'change_scctvwlogs'),
(243, 'Can delete scctvwlogs', 61, 'delete_scctvwlogs'),
(244, 'Can view scctvwlogs', 61, 'view_scctvwlogs'),
(245, 'Can add dgm reports', 62, 'add_dgmreports'),
(246, 'Can change dgm reports', 62, 'change_dgmreports'),
(247, 'Can delete dgm reports', 62, 'delete_dgmreports'),
(248, 'Can view dgm reports', 62, 'view_dgmreports');
-- --------------------------------------------------------
--
-- Table structure for table `auth_user`
--
DROP TABLE IF EXISTS `auth_user`;
CREATE TABLE IF NOT EXISTS `auth_user` (
`id` int(11) NOT NULL,
`password` varchar(128) NOT NULL,
`last_login` datetime(6) DEFAULT NULL,
`is_superuser` tinyint(1) NOT NULL,
`username` int(11) NOT NULL,
`first_name` varchar(30) NOT NULL,
`last_name` varchar(150) NOT NULL,
`email` varchar(254) NOT NULL,
`is_staff` tinyint(1) NOT NULL,
`is_active` tinyint(1) NOT NULL,
`date_joined` datetime(6) NOT NULL,
PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `auth_user_groups`
--
DROP TABLE IF EXISTS `auth_user_groups`;
CREATE TABLE IF NOT EXISTS `auth_user_groups` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`group_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_user_groups_user_id_group_id_94350c0c_uniq` (`user_id`,`group_id`),
KEY `auth_user_groups_user_id_6a12ed8b` (`user_id`),
KEY `auth_user_groups_group_id_97559544` (`group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `auth_user_user_permissions`
--
DROP TABLE IF EXISTS `auth_user_user_permissions`;
CREATE TABLE IF NOT EXISTS `auth_user_user_permissions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL,
`permission_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_user_user_permissions_user_id_permission_id_14a6b632_uniq` (`user_id`,`permission_id`),
KEY `auth_user_user_permissions_user_id_a95ead1b` (`user_id`),
KEY `auth_user_user_permissions_permission_id_1fbb5f2c` (`permission_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `cdvordaily`
--
DROP TABLE IF EXISTS `cdvordaily`;
CREATE TABLE IF NOT EXISTS `cdvordaily` (
`p_id` int(11) NOT NULL AUTO_INCREMENT,
`date` date NOT NULL,
`time` time DEFAULT NULL,
`status` varchar(30) NOT NULL DEFAULT 'PENDING',
`a_id` int(11) NOT NULL,
`emp_id` int(11) DEFAULT NULL,
`f_id` int(11) DEFAULT NULL,
`Azimuth_angle` int(11) DEFAULT NULL,
`30Hz_modulation` int(11) DEFAULT NULL,
`9960Hz_modulation` int(11) DEFAULT NULL,
`9960Hz_deviation` int(11) DEFAULT NULL,
`field_intensity` int(11) DEFAULT NULL,
`ident_modulation` int(11) DEFAULT NULL,
`REMARKS` tinytext,
`Unit_incharge_approval` varchar(3) DEFAULT NULL,
`approval_date` date DEFAULT NULL,
`approval_time` time DEFAULT NULL,
PRIMARY KEY (`p_id`),
KEY `emp_id` (`emp_id`),
KEY `CDVORDaily_ibfk_1` (`a_id`),
KEY `cdvordaily_ibfk_3` (`f_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `cdvordaily`
--
INSERT INTO `cdvordaily` (`p_id`, `date`, `time`, `status`, `a_id`, `emp_id`, `f_id`, `Azimuth_angle`, `30Hz_modulation`, `9960Hz_modulation`, `9960Hz_deviation`, `field_intensity`, `ident_modulation`, `REMARKS`, `Unit_incharge_approval`, `approval_date`, `approval_time`) VALUES
(1, '2020-04-18', '19:08:07', 'PENDING', 1, 4121, 1, 24, 30, 30, 16, 0, 10, NULL, NULL, NULL, NULL),
(2, '2020-04-23', '17:11:00', 'COMPLETED', 1, 4129, 1, 23, 28, 32, 17, 1, 11, NULL, 'YES', '2020-04-23', '13:04:07'),
(3, '2020-04-26', '13:12:36', 'COMPLETED', 1, 4123, 1, 24, 29, 30, 16, 1, NULL, NULL, 'YES', '2020-04-26', '09:05:00'),
(4, '2020-04-27', '01:38:34', 'PENDING', 1, 4123, 1, 23, 28, 26, 16, 1, NULL, NULL, NULL, NULL, NULL),
(5, '2020-04-28', '16:56:25', 'PENDING', 1, 4123, 2, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(6, '2020-04-29', '17:26:41', 'PENDING', 1, 4123, 2, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(7, '2020-04-30', '17:28:28', 'COMPLETED', 1, 4123, 1, 24, 28, 29, 16, 0, NULL, NULL, 'YES', '2020-04-30', '17:48:06'),
(8, '2020-05-01', '13:49:35', 'COMPLETED WITH ERRORS', 1, 4121, 1, 24, 28, 28, 18, 1, NULL, NULL, 'YES', '2020-05-01', '14:31:32'),
(9, '2020-05-02', '23:41:46', 'COMPLETED', 1, 4121, 1, 24, 28, 28, 15, 0, NULL, NULL, 'YES', '2020-05-02', '23:54:47');
-- --------------------------------------------------------
--
-- Table structure for table `cdvordlogs`
--
DROP TABLE IF EXISTS `cdvordlogs`;
CREATE TABLE IF NOT EXISTS `cdvordlogs` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`emp_id` int(11) NOT NULL,
`p_id` int(11) NOT NULL,
`value` varchar(30) NOT NULL,
`remarks` varchar(100) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
PRIMARY KEY (`log_id`),
KEY `emp_id` (`emp_id`),
KEY `p_id` (`p_id`)
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `cdvordlogs`
--
INSERT INTO `cdvordlogs` (`log_id`, `emp_id`, `p_id`, `value`, `remarks`, `date`, `time`) VALUES
(1, 4123, 3, 'All parameters NORMAL', 'Parameters normal at the first submit!', '2020-04-24', '13:12:36'),
(2, 4123, 3, '25', 'Azimuth angle not normal(update)', '2020-04-24', '13:21:42'),
(3, 4123, 3, 'ok', 'Procedure Followed', '2020-04-24', '13:21:42'),
(4, 4123, 3, 'kk', 'All parameters NORMAL', '2020-04-24', '13:22:09'),
(5, 4123, 3, 'KK', 'All parameters NORMAL', '2020-04-24', '13:24:33'),
(6, 4123, 3, 'K', 'All parameters NORMAL', '2020-04-24', '13:25:44'),
(7, 4123, 4, '26', 'Azimuth angle exceeds 25 degrees', '2020-04-27', '01:38:34'),
(8, 4123, 4, '32', '30Hz modulation not in specified range', '2020-04-27', '01:38:34'),
(9, 4123, 4, '28', 'Azimuth angle not normal(update)', '2020-04-27', '01:45:49'),
(10, 4123, 4, '-3', 'field intensity not normal(update)', '2020-04-27', '01:45:49'),
(20, 4123, 7, '27', '9960Hz modulation not in specified range', '2020-04-30', '17:28:28'),
(21, 4123, 7, 'hello', 'All parameters NORMAL', '2020-04-30', '17:28:47'),
(22, 4123, 7, 'bye', 'All parameters NORMAL', '2020-04-30', '17:45:59'),
(23, 4121, 8, '31', '30Hz modulation not in specified range', '2020-05-01', '13:49:35'),
(24, 4121, 8, '26', '9960Hz modulation not in specified range', '2020-05-01', '13:49:35'),
(25, 4121, 8, '18', '9960Hz modulation not in specified range', '2020-05-01', '13:49:35'),
(33, 4121, 8, 'FOLLOWED', 'Procedure Followed', '2020-05-01', '14:30:21'),
(34, 4121, 8, 'hello', 'Final submit with errors', '2020-05-01', '14:30:41'),
(35, 4121, 9, '26', 'Azimuth angle exceeds 25 degrees', '2020-05-02', '23:41:46'),
(38, 4121, 9, '18', '9960Hz modulation not in specified range', '2020-05-02', '23:41:46'),
(39, 4121, 9, '3', 'Field intensity not in specified range', '2020-05-02', '23:41:46'),
(40, 4121, 9, '18', '9960Hz deviation not normal(update)', '2020-05-02', '23:42:29'),
(41, 4121, 9, '3', 'field intensity not normal(update)', '2020-05-02', '23:42:29'),
(42, 4121, 9, 'hello', 'Procedure Followed', '2020-05-02', '23:42:29'),
(43, 4121, 9, '3', 'field intensity not normal(update)', '2020-05-02', '23:42:57'),
(44, 4121, 9, 'edit 2', 'Procedure Followed', '2020-05-02', '23:42:57'),
(45, 4121, 9, 'bye', 'Final submit with errors', '2020-05-02', '23:43:08'),
(46, 4121, 9, 'good', 'All parameters NORMAL', '2020-05-02', '23:47:06');
-- --------------------------------------------------------
--
-- Table structure for table `cdvormlogs`
--
DROP TABLE IF EXISTS `cdvormlogs`;
CREATE TABLE IF NOT EXISTS `cdvormlogs` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`emp_id` int(11) NOT NULL,
`p_id` int(11) NOT NULL,
`value` varchar(40) NOT NULL,
`remarks` varchar(100) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
PRIMARY KEY (`log_id`),
KEY `emp_id` (`emp_id`),
KEY `p_id` (`p_id`)
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `cdvormlogs`
--
INSERT INTO `cdvormlogs` (`log_id`, `emp_id`, `p_id`, `value`, `remarks`, `date`, `time`) VALUES
(3, 4123, 2, 'No Entry', 'Report not submitted', '2020-04-26', '12:51:16'),
(4, 4123, 2, 'No Entry', 'Report not submitted', '2020-04-27', '12:51:16'),
(5, 4123, 4, '31', 'Measured bearing 5 is deviating for more than 1', '2020-04-28', '12:52:39'),
(6, 4123, 4, 'bye', 'All parameters NORMAL', '2020-04-28', '12:53:32'),
(7, 4123, 5, '1', 'Measured bearing 1 is deviating for more than 1', '2020-05-01', '14:58:11'),
(8, 4123, 5, '16', 'Measured bearing 3 is deviating for more than 1', '2020-05-01', '14:58:11'),
(9, 4123, 5, '31', 'Measured bearing 5 is deviating for more than 1', '2020-05-01', '14:58:11'),
(10, 4123, 5, '0.8', 'Error spread found is greator than 0.5', '2020-05-01', '14:58:11'),
(11, 4123, 5, '1', 'Measured bearing 1 is deviating for more than 1(update)', '2020-05-01', '14:59:28'),
(12, 4123, 5, '31', 'Measured bearing 5 is deviating for more than 1(update)', '2020-05-01', '14:59:28'),
(13, 4123, 5, '0.6', 'Error spread found is >= 0.5(update)', '2020-05-01', '14:59:28'),
(14, 4123, 5, 'bye', 'Procedure Followed', '2020-05-01', '14:59:28'),
(15, 4123, 5, '31', 'Measured bearing 5 is deviating for more than 1(update)', '2020-05-01', '15:15:21'),
(16, 4123, 5, 'bye', 'Procedure Followed', '2020-05-01', '15:15:21'),
(17, 4123, 5, '5 normal', 'All parameters NORMAL', '2020-05-01', '15:25:43'),
(32, 4121, 7, '24', 'Measured bearing 4 is deviating for more than 1', '2020-05-03', '00:37:37'),
(33, 4121, 7, 'goodbye', 'Final submit with errors', '2020-05-03', '00:37:47'),
(34, 4121, 7, 'good', 'All parameters NORMAL', '2020-05-03', '00:51:32');
-- --------------------------------------------------------
--
-- Table structure for table `cdvormonthly`
--
DROP TABLE IF EXISTS `cdvormonthly`;
CREATE TABLE IF NOT EXISTS `cdvormonthly` (
`date` date NOT NULL,
`time` time NOT NULL,
`a_id` int(11) NOT NULL,
`emp_id` int(11) DEFAULT NULL,
`f_id` int(11) NOT NULL,
`p_id` int(11) NOT NULL AUTO_INCREMENT,
`status` varchar(30) NOT NULL,
`measured_bearing_1` float DEFAULT NULL,
`bearing_deviation_1` float DEFAULT NULL,
`measured_bearing_2` float DEFAULT NULL,
`bearing_deviation_2` float DEFAULT NULL,
`measured_bearing_3` float DEFAULT NULL,
`bearing_deviation_3` float DEFAULT NULL,
`measured_bearing_4` float DEFAULT NULL,
`bearing_deviation_4` float DEFAULT NULL,
`measured_bearing_5` float DEFAULT NULL,
`bearing_deviation_5` float DEFAULT NULL,
`error_spread` float DEFAULT NULL,
`REMARKS` tinytext,
`Unit_incharge_approval` varchar(3) DEFAULT NULL,
`approval_date` date DEFAULT NULL,
`approval_time` time DEFAULT NULL,
PRIMARY KEY (`p_id`),
KEY `emp_id` (`emp_id`),
KEY `VHFMaily_ibfk_1` (`a_id`),
KEY `cdvormonthly_ibfk_3` (`f_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `cdvormonthly`
--
INSERT INTO `cdvormonthly` (`date`, `time`, `a_id`, `emp_id`, `f_id`, `p_id`, `status`, `measured_bearing_1`, `bearing_deviation_1`, `measured_bearing_2`, `bearing_deviation_2`, `measured_bearing_3`, `bearing_deviation_3`, `measured_bearing_4`, `bearing_deviation_4`, `measured_bearing_5`, `bearing_deviation_5`, `error_spread`, `REMARKS`, `Unit_incharge_approval`, `approval_date`, `approval_time`) VALUES
('2020-02-27', '11:06:06', 1, 4123, 1, 1, 'COMPLETED', 0, 0, 7.5, 0, 15, 0, 22.5, 0, 37.5, 0, 0, NULL, 'YES', '2020-02-27', '15:03:00'),
('2020-03-27', '00:00:00', 1, 4123, 2, 2, 'COMPLETED', 0, 0, 8, 0.5, 16, 1, 22.5, 0, 37.8, 0.3, 1.8, 'Error spread found of 1.8, which is nominal.', 'YES', '2020-03-27', '16:04:05'),
('2020-04-28', '12:52:39', 1, 4123, 1, 4, 'COMPLETED', 0, 0, 7.5, 0, 15, 0, 23, 0.5, 30, 0, 0.1, NULL, 'YES', '2020-05-01', '13:24:47'),
('2020-05-01', '14:58:11', 1, 4121, 1, 5, 'PENDING', 0, 0, 8, 0.5, 15, 0, 23, 0.5, 30, 0, 0.2, NULL, 'NO', '2020-05-03', '00:35:25'),
('2020-05-03', '00:37:37', 1, 4121, 1, 7, 'COMPLETED', 0, 0, 7.5, 0, 15, 0, 22.5, 0, 30, 0, 0, NULL, 'YES', '2020-05-03', '00:51:52');
-- --------------------------------------------------------
--
-- Table structure for table `cdvorweekly`
--
DROP TABLE IF EXISTS `cdvorweekly`;
CREATE TABLE IF NOT EXISTS `cdvorweekly` (
`p_id` int(11) NOT NULL AUTO_INCREMENT,
`date` date NOT NULL,
`time` time NOT NULL,
`a_id` int(11) NOT NULL,
`emp_id` int(11) DEFAULT NULL,
`f_id` int(11) NOT NULL,
`status` varchar(30) NOT NULL,
`PS_5V` float DEFAULT NULL,
`PS_12V` float DEFAULT NULL,
`PS_negative_12V` int(11) DEFAULT NULL,
`PS_28V` int(11) DEFAULT NULL,
`PS_48V` int(11) DEFAULT NULL,
`outside_temp` int(11) DEFAULT NULL,
`TX1_temp` int(11) DEFAULT NULL,
`TX2_temp` int(11) DEFAULT NULL,
`Out_temp_enabled` varchar(10) DEFAULT NULL,
`AM` int(11) DEFAULT NULL,
`FM` int(11) DEFAULT NULL,
`sideband_frequency` int(11) DEFAULT NULL,
`REMARKS` tinytext,
`Unit_incharge_approval` varchar(3) DEFAULT NULL,
`approval_date` date DEFAULT NULL,
`approval_time` time DEFAULT NULL,
PRIMARY KEY (`p_id`),
KEY `a_id` (`a_id`),
KEY `emp_id` (`emp_id`),
KEY `date` (`date`,`a_id`) USING BTREE,
KEY `cdvorweekly_ibfk_3` (`f_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `cdvorweekly`
--
INSERT INTO `cdvorweekly` (`p_id`, `date`, `time`, `a_id`, `emp_id`, `f_id`, `status`, `PS_5V`, `PS_12V`, `PS_negative_12V`, `PS_28V`, `PS_48V`, `outside_temp`, `TX1_temp`, `TX2_temp`, `Out_temp_enabled`, `AM`, `FM`, `sideband_frequency`, `REMARKS`, `Unit_incharge_approval`, `approval_date`, `approval_time`) VALUES
(1, '2020-04-12', '05:07:10', 1, 4129, 1, 'PENDING', 3, 10, -13, 29, 41, 79, 44, 49, 'FALSE', 30, 30, 10001, 'PS 5V,PS 12V,PS -12V, reading deviating too much. Issue no 519', NULL, NULL, NULL),
(2, '2020-04-21', '09:06:10', 1, 4123, 1, 'PENDING', 5, 5, 3, 56, 67, 45, 456, 67, '234', 546, 435, 345, 'xcg cgbxbvc', NULL, NULL, NULL),
(4, '2020-04-28', '11:52:19', 1, 4123, 1, 'COMPLETED', 7, 11.9, NULL, 28, NULL, 27, NULL, NULL, NULL, NULL, NULL, 10001, NULL, 'YES', '2020-04-28', '17:04:06'),
(5, '2020-05-01', '14:38:47', 1, 4121, 1, 'COMPLETED', 5.1, 12.4, NULL, 29, NULL, 34, NULL, NULL, NULL, NULL, NULL, 10001, NULL, 'YES', '2020-05-01', '14:45:50'),
(6, '2020-05-03', '00:13:58', 1, 4121, 1, 'COMPLETED', 5.1, 12.3, NULL, 28, NULL, 55, NULL, NULL, NULL, NULL, NULL, 10001, NULL, 'YES', '2020-05-03', '00:25:42');
-- --------------------------------------------------------
--
-- Table structure for table `cdvorwlogs`
--
DROP TABLE IF EXISTS `cdvorwlogs`;
CREATE TABLE IF NOT EXISTS `cdvorwlogs` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`emp_id` int(11) NOT NULL,
`p_id` int(11) NOT NULL,
`value` varchar(30) NOT NULL,
`remarks` varchar(100) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
PRIMARY KEY (`log_id`),
KEY `emp_id` (`emp_id`),
KEY `p_id` (`p_id`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `cdvorwlogs`
--
INSERT INTO `cdvorwlogs` (`log_id`, `emp_id`, `p_id`, `value`, `remarks`, `date`, `time`) VALUES
(3, 4123, 2, 'No Entry', 'Report not submitted', '2020-04-27', '11:33:59'),
(4, 4123, 4, '7', 'PS 5V not in range', '2020-04-28', '11:52:19'),
(5, 4129, 5, '2', 'PS 5V not in range', '2020-05-01', '14:38:47'),
(6, 4129, 5, '7', 'PS 12V not in range', '2020-05-01', '14:38:47'),
(7, 4129, 5, '31', 'PS 28V not in range', '2020-05-01', '14:38:47'),
(8, 4129, 5, '72', 'Outside temperature not in range', '2020-05-01', '14:38:47'),
(9, 4129, 5, '12', 'sideband frequency not equal to 10001 Hz', '2020-05-01', '14:38:47'),
(10, 4129, 5, '31', 'PS 28V value not in normal range(update)', '2020-05-01', '14:39:25'),
(11, 4129, 5, '72', 'Temperature not in range -25 to 70(update)', '2020-05-01', '14:39:25'),
(12, 4129, 5, '12', 'Sideband frequency not equal to 10001(update)', '2020-05-01', '14:39:25'),
(13, 4129, 5, 'followed', 'Procedure Followed', '2020-05-01', '14:39:25'),
(14, 4129, 5, '31', 'PS 28V value not in normal range(update)', '2020-05-01', '14:39:50'),
(15, 4129, 5, '12', 'Sideband frequency not equal to 10001(update)', '2020-05-01', '14:39:50'),
(16, 4129, 5, 'temp back to normal', 'Procedure Followed', '2020-05-01', '14:39:50'),
(17, 4129, 5, 'freq normal', 'All parameters NORMAL', '2020-05-01', '14:40:15'),
(18, 4121, 6, '5.3', 'PS 5V not in range', '2020-05-03', '00:13:58'),
(19, 4121, 6, '30', 'PS 28V not in range', '2020-05-03', '00:13:58'),
(20, 4121, 6, '72', 'Outside temperature not in range', '2020-05-03', '00:13:58'),
(21, 4121, 6, '10000', 'sideband frequency not equal to 10001 Hz', '2020-05-03', '00:13:58'),
(22, 4121, 6, '5.3', 'PS 5V reading not correct (update)', '2020-05-03', '00:14:22'),
(23, 4121, 6, '30', 'PS 28V value not in normal range(update)', '2020-05-03', '00:14:22'),
(24, 4121, 6, '72', 'Temperature not in range -25 to 70(update)', '2020-05-03', '00:14:22'),
(25, 4121, 6, 'hello', 'Procedure Followed', '2020-05-03', '00:14:22'),
(26, 4121, 6, '5.3', 'PS 5V reading not correct (update)', '2020-05-03', '00:14:38'),
(27, 4121, 6, '72', 'Temperature not in range -25 to 70(update)', '2020-05-03', '00:14:38'),
(28, 4121, 6, 'bye', 'Procedure Followed', '2020-05-03', '00:14:38'),
(29, 4121, 6, 'bye', 'Final submit with errors', '2020-05-03', '00:14:45'),
(30, 4121, 6, 'hello', 'All parameters NORMAL', '2020-05-03', '00:25:18');
-- --------------------------------------------------------
--
-- Table structure for table `communication`
--
DROP TABLE IF EXISTS `communication`;
CREATE TABLE IF NOT EXISTS `communication` (
`f_id` int(11) NOT NULL,
`a_id` int(11) NOT NULL,
`facility` varchar(20) DEFAULT NULL,
`make` varchar(20) DEFAULT NULL,
`model` varchar(20) DEFAULT NULL,
`power` int(11) DEFAULT NULL,
`DOI` date DEFAULT NULL,
`DOC` date DEFAULT NULL,
`location` varchar(20) DEFAULT NULL,
`supervisor_id` int(11) DEFAULT '3193',
PRIMARY KEY (`f_id`,`a_id`),
UNIQUE KEY `f_id` (`f_id`,`a_id`) USING BTREE,
KEY `a_id` (`a_id`),
KEY `emp_id` (`supervisor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `communication`
--
INSERT INTO `communication` (`f_id`, `a_id`, `facility`, `make`, `model`, `power`, `DOI`, `DOC`, `location`, `supervisor_id`) VALUES
(1, 1, 'VHF TX/RX', 'PAE', 'T6T', 50, '2009-06-15', '2009-06-20', 'E/ROOM', 3193),
(2, 1, 'DATIS', 'TERMA', '50209', NULL, '2008-11-01', '2009-01-01', 'E/ROOM', 3193),
(3, 1, 'DSCN', 'MEMOTEC', 'CX 800', NULL, '2020-01-07', '2020-02-29', 'COM CENTRE', 3193);
-- --------------------------------------------------------
--
-- Table structure for table `datisdaily`
--
DROP TABLE IF EXISTS `datisdaily`;
CREATE TABLE IF NOT EXISTS `datisdaily` (
`p_id` int(10) NOT NULL AUTO_INCREMENT,
`date` date NOT NULL,
`time` time DEFAULT NULL,
`a_id` int(11) DEFAULT NULL,
`emp_id` int(11) DEFAULT NULL,
`Status` varchar(40) NOT NULL,
`f_id` int(11) DEFAULT NULL,
`room_temp` int(11) DEFAULT NULL,
`status_of_AC` varchar(10) DEFAULT NULL,
`status_of_UPS` varchar(10) DEFAULT NULL,
`status_of_serverA` varchar(10) DEFAULT NULL,
`status_of_serverB` varchar(10) DEFAULT NULL,
`datetime_of_servers_wrt_GPS_CLK` varchar(10) DEFAULT NULL,
`status_of_Disk_array` varchar(10) DEFAULT NULL,
`VHFTX_ATIS_status` varchar(10) DEFAULT NULL,
`VHFRX_ATIS_status` varchar(10) DEFAULT NULL,
`DATIS_update` varchar(10) DEFAULT NULL,
`Audio_quality` varchar(10) DEFAULT NULL,
`REMARKS` tinytext,
`Unit_incharge_approval` varchar(3) DEFAULT NULL,
`approval_date` date DEFAULT NULL,
`approval_time` time DEFAULT NULL,
PRIMARY KEY (`p_id`),
UNIQUE KEY `date` (`date`,`a_id`) USING BTREE,
KEY `a_id` (`a_id`),
KEY `emp_id` (`emp_id`),
KEY `f_id` (`f_id`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `datisdaily`
--
INSERT INTO `datisdaily` (`p_id`, `date`, `time`, `a_id`, `emp_id`, `Status`, `f_id`, `room_temp`, `status_of_AC`, `status_of_UPS`, `status_of_serverA`, `status_of_serverB`, `datetime_of_servers_wrt_GPS_CLK`, `status_of_Disk_array`, `VHFTX_ATIS_status`, `VHFRX_ATIS_status`, `DATIS_update`, `Audio_quality`, `REMARKS`, `Unit_incharge_approval`, `approval_date`, `approval_time`) VALUES
(1, '2020-03-24', '15:14:07', 1, 4169, 'PENDING', 2, 24, 'SVCBL', 'NORMAL', 'MAINS', 'MAINS', 'CORRECT', 'OK', 'ON LINE', 'ON LINE', 'OK', 'GOOD', NULL, 'YES', NULL, NULL),
(2, '2020-03-25', '15:08:08', 1, 4156, 'PENDING', 2, 23, 'SVCBL', 'NORMAL', 'MAINS', 'MAINS', 'CORRECT', 'OK', 'ON LINE', 'ON LINE', 'OK', 'GOOD', NULL, 'YES', NULL, NULL),
(3, '2020-03-26', '14:05:02', 1, 4156, 'COMPLETED', 2, 24, 'SVCBL', 'NORMAL', 'MAINS', 'MAINS', 'CORRECT', 'OK', 'ON LINE', 'ON LINE', 'OK', 'GOOD', NULL, 'YES', NULL, NULL),
(4, '2020-03-27', '16:28:16', 1, 4156, 'COMPLETED', 2, 24, 'SVCBL', 'NORMAL', 'MAINS', 'MAINS', 'CORRECT', 'OK', 'ON LINE', 'OM LINE', 'OK', 'GOOD', NULL, 'YES', NULL, NULL),
(5, '2020-03-28', '14:01:01', 1, 4144, 'COMPLETED', 2, 24, 'SVCBL', 'NORMAL', 'MAINS', 'MAINS', 'CORRECT', 'OK', 'ON LINE', 'ON LINE', 'OK', 'GOOD', NULL, 'YES', NULL, NULL),
(55, '2020-04-17', NULL, NULL, 4156, 'COMPLETED', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', 'YES', '2020-04-18', '18:34:35'),
(58, '2020-04-18', '13:47:38', 1, 4156, 'COMPLETED', 2, -23, 'SVCBL', 'NORMAL', 'MAINS', 'STANDBY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'YES', '2020-04-18', '18:33:13'),
(60, '2020-04-19', '23:08:57', 1, 4156, 'COMPLETED', 2, 0, 'SVCBL', 'NORMAL', 'MAINS', 'STANDBY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'YES', '2020-04-19', '23:25:51'),
(62, '2020-04-20', '21:38:41', 1, 4156, 'PENDING', 2, 25, 'SVCBL', 'NOT NORMAL', 'MAINS', 'STANDBY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'NO', '2020-04-21', '01:32:18'),
(64, '2020-04-21', '22:51:37', 1, 4156, 'COMPLETED WITH ERRORS', 2, 25, 'SVCBL', 'NORMAL', 'MAINS', 'STANDBY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'YES', '2020-04-21', '23:34:44'),
(66, '2020-04-22', '17:53:02', 1, 4156, 'COMPLETED', 2, 24, 'SVCBL', 'NORMAL', 'MAINS', 'STANDBY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'YES', '2020-04-22', '18:03:09'),
(67, '2020-04-23', '20:03:12', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(68, '2020-04-24', '18:43:00', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(69, '2020-04-25', '18:15:03', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(70, '2020-04-26', '01:33:12', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(71, '2020-04-27', '16:39:34', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(72, '2020-04-28', '16:39:34', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(73, '2020-04-29', '14:25:44', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(74, '2020-04-30', '17:34:52', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(75, '2020-05-01', '00:27:17', 1, 4156, 'PENDING', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '---Report not submitted---', NULL, NULL, NULL),
(76, '2020-05-02', '16:14:12', 1, 4156, 'COMPLETED', 2, 24, 'SVCBL', 'NORMAL', 'MAINS', 'STANDBY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(77, '2020-05-03', '00:56:06', 1, 4156, 'COMPLETED', 2, 24, 'SVCBL', 'NORMAL', 'MAINS', 'STANDBY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'YES', '2020-05-03', '01:04:15'),
(78, '2020-05-04', '00:38:42', 1, 4156, 'COMPLETED', 2, 24, 'SVCBL', 'NORMAL', 'MAINS', 'STANDBY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `datisdlogs`
--
DROP TABLE IF EXISTS `datisdlogs`;
CREATE TABLE IF NOT EXISTS `datisdlogs` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`emp_id` int(11) NOT NULL,
`p_id` int(11) NOT NULL,
`value` varchar(30) NOT NULL,
`Remarks` varchar(100) NOT NULL,
`Date` date NOT NULL,
`time` time NOT NULL,
PRIMARY KEY (`log_id`),
KEY `emp_id` (`emp_id`),
KEY `p_id` (`p_id`)
) ENGINE=InnoDB AUTO_INCREMENT=131 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `datisdlogs`
--
INSERT INTO `datisdlogs` (`log_id`, `emp_id`, `p_id`, `value`, `Remarks`, `Date`, `time`) VALUES
(7, 4156, 3, 'NOT NORMAL', 'Status of ups not NORMAL', '2020-03-26', '11:57:01'),
(8, 4156, 3, 'NOT NORMAL', 'Status of ups not NORMAL(update)', '2020-03-26', '12:26:47'),
(9, 4156, 3, '25', 'Temperature not normal(update)', '2020-03-26', '12:26:57'),
(10, 4156, 3, 'NOT NORMAL', 'Status of ups not NORMAL(update)', '2020-03-26', '12:27:05'),
(11, 4156, 3, 'All parameters NORMAL', 'Parameter/s fixed', '2020-03-26', '12:27:30'),
(90, 4156, 62, 'NOT NORMAL', 'Status of ups not NORMAL', '2020-04-20', '21:38:41'),
(91, 4156, 62, 'MAINS', 'Status of ServerA and serverB is on MAINS', '2020-04-20', '21:38:41'),
(92, 4156, 62, '25', 'Temperature not normal(update)', '2020-04-20', '21:58:42'),
(93, 4156, 62, 'NOT NORMAL', 'Status of ups not NORMAL(update)', '2020-04-20', '21:58:42'),
(94, 4156, 62, 'ok', 'Procedure Followed', '2020-04-20', '21:58:42'),
(95, 4156, 62, 'okk', 'Final submit with errors', '2020-04-20', '21:59:02'),
(102, 4156, 64, '25', 'Temperature exceeds 24 degrees', '2020-04-21', '22:51:37'),
(103, 4156, 64, 'okk', 'All parameters NORMAL', '2020-04-21', '22:52:20'),
(104, 4156, 64, 'okk', 'Final submit with errors', '2020-04-21', '23:24:54'),
(105, 4156, 64, 'kk', 'All parameters NORMAL', '2020-04-21', '23:26:56'),
(106, 4156, 64, 'OK', 'Final submit with errors', '2020-04-21', '23:32:13'),
(107, 4156, 64, 'bye', 'Final submit with errors', '2020-04-21', '23:33:55'),
(118, 4156, 66, 'MAINS', 'Status of ServerA and serverB is on MAINS', '2020-04-22', '17:53:02'),
(119, 4156, 66, 'no', 'Final submit with errors', '2020-04-22', '18:00:06'),
(120, 4156, 66, 'ok', 'All parameters NORMAL', '2020-04-22', '18:02:32'),
(121, 4156, 76, 'All parameters NORMAL', 'Parameters normal at the first submit!', '2020-05-02', '16:14:12'),
(122, 4156, 77, '26', 'Temperature exceeds 24 degrees', '2020-05-03', '00:56:06'),
(123, 4156, 77, 'MAINS', 'Status of ServerA and serverB is on MAINS', '2020-05-03', '00:56:06'),
(124, 4156, 77, 'MAINS', 'Status of ServerA and serverB is on MAINS(update)', '2020-05-03', '00:57:41'),
(125, 4156, 77, 'bye', 'Procedure Followed', '2020-05-03', '00:57:41'),
(126, 4156, 77, 'good', 'Final submit with errors', '2020-05-03', '00:57:48'),
(127, 4156, 77, 'ok', 'All parameters NORMAL', '2020-05-03', '01:03:25'),
(128, 4156, 78, '25', 'Temperature exceeds 24 degrees', '2020-05-04', '00:38:42'),
(129, 4156, 78, 'NON SVCBL', 'Status of ac not correct', '2020-05-04', '00:38:42'),
(130, 4156, 78, 'ok', 'All parameters NORMAL', '2020-05-04', '00:39:04');
-- --------------------------------------------------------
--
-- Table structure for table `datisweekly`
--
DROP TABLE IF EXISTS `datisweekly`;
CREATE TABLE IF NOT EXISTS `datisweekly` (
`p_id` int(11) NOT NULL AUTO_INCREMENT,
`date` date NOT NULL,
`time` time DEFAULT NULL,
`a_id` int(11) DEFAULT NULL,
`f_id` int(11) NOT NULL,
`emp_id` int(11) DEFAULT NULL,
`Status` varchar(40) NOT NULL,
`serverAorB` varchar(1) DEFAULT NULL,
`UPS_ip` int(11) DEFAULT NULL,
`UPS_op` int(11) DEFAULT NULL,
`Dust_free` varchar(10) DEFAULT NULL,
`LAN_status` varchar(10) DEFAULT NULL,
`time_sync` varchar(5) DEFAULT NULL,
`Audio_quality` varchar(5) DEFAULT NULL,
`ptt_off_interval_seconds` int(11) DEFAULT NULL,
`main_to_standby_changeover` varchar(5) DEFAULT NULL,
`status_of_ROP` varchar(5) DEFAULT NULL,
`REMARKS` tinytext,
`Unit_incharge_approval` varchar(3) DEFAULT NULL,
`approval_date` date DEFAULT NULL,
`approval_time` time DEFAULT NULL,
PRIMARY KEY (`p_id`),
UNIQUE KEY `date` (`date`,`a_id`) USING BTREE,
KEY `a_id` (`a_id`),
KEY `emp_id` (`emp_id`),
KEY `f_id` (`f_id`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `datisweekly`
--
INSERT INTO `datisweekly` (`p_id`, `date`, `time`, `a_id`, `f_id`, `emp_id`, `Status`, `serverAorB`, `UPS_ip`, `UPS_op`, `Dust_free`, `LAN_status`, `time_sync`, `Audio_quality`, `ptt_off_interval_seconds`, `main_to_standby_changeover`, `status_of_ROP`, `REMARKS`, `Unit_incharge_approval`, `approval_date`, `approval_time`) VALUES
(1, '2020-03-11', '11:08:08', 1, 2, 4156, 'PENDING', 'B', 210, 230, 'OK', 'OK', 'OK', 'GOOD', 15, 'OK', 'OK', 'Residual dust was found on the system. Cleaning was performed.', 'YES', NULL, NULL),
(2, '2020-03-18', '10:05:05', 1, 2, 4169, 'COMPLETED', 'A', 230, 230, 'OK', 'OK', 'OK', 'GOOD', 15, 'OK', 'OK', NULL, 'YES', '2020-04-18', '18:34:14'),
(3, '2020-03-25', '15:00:46', 1, 2, 4144, 'COMPLETED', 'A', 200, 230, 'OK', 'OK', NULL, NULL, NULL, NULL, NULL, NULL, 'YES', NULL, NULL),
(4, '2020-03-30', '13:13:10', 1, 2, 4144, 'COMPLETED', 'A', 230, 230, 'OK', 'OK', NULL, NULL, NULL, NULL, NULL, NULL, 'YES', NULL, NULL),
(10, '2020-04-07', '22:43:40', 1, 2, 4156, 'COMPLETED', 'A', 220, 230, 'OK', 'OK', NULL, NULL, NULL, NULL, NULL, NULL, 'YES', NULL, NULL),
(12, '2020-04-08', '17:16:01', 1, 2, 4156, 'PENDING', 'A', 224, 230, 'NOT OK', 'OK', NULL, NULL, NULL, NULL, NULL, NULL, 'NO', NULL, NULL),
(20, '2020-04-21', '22:08:19', 1, 2, 4156, 'COMPLETED WITH ERRORS', 'A', 45, 234, 'OK', 'OK', NULL, NULL, NULL, NULL, NULL, NULL, 'YES', '2020-04-21', '22:17:54'),
(33, '2020-05-01', '17:59:44', 1, 2, 4156, 'COMPLETED WITH ERRORS', 'A', 220, 230, 'NOT OK', 'OK', NULL, NULL, NULL, NULL, NULL, NULL, 'YES', '2020-05-01', '18:00:12'),
(39, '2020-05-03', '01:07:11', 1, 2, 4144, 'COMPLETED', 'A', 230, 230, 'OK', 'OK', NULL, NULL, NULL, NULL, NULL, NULL, 'YES', '2020-05-03', '01:10:55');
-- --------------------------------------------------------
--
-- Table structure for table `datiswlogs`
--
DROP TABLE IF EXISTS `datiswlogs`;
CREATE TABLE IF NOT EXISTS `datiswlogs` (
`log_id` int(11) NOT NULL AUTO_INCREMENT,
`emp_id` int(11) NOT NULL,
`p_id` int(11) NOT NULL,
`Remarks` varchar(100) NOT NULL,
`value` varchar(30) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
PRIMARY KEY (`log_id`),
KEY `emp_id` (`emp_id`),
KEY `p_id` (`p_id`)
) ENGINE=InnoDB AUTO_INCREMENT=169 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `datiswlogs`
--
INSERT INTO `datiswlogs` (`log_id`, `emp_id`, `p_id`, `Remarks`, `value`, `date`, `time`) VALUES
(1, 4144, 3, 'UPS_ip not in corrent range', '190', '2020-03-25', '15:00:46'),
(2, 4144, 3, 'Not Dustfree', 'NOT OK', '2020-03-25', '15:00:46'),
(3, 4144, 3, 'Parameter/s fixed', 'All parameters NORMAL', '2020-03-25', '15:01:04'),
(8, 4144, 4, 'UPS_op value not normal', '220', '2020-04-02', '13:13:10'),
(9, 4144, 4, 'Lan status not OK', 'NOT OK', '2020-04-02', '13:13:10'),
(10, 4144, 4, 'Parameter/s fixed', 'All parameters NORMAL', '2020-04-02', '13:13:18'),
(24, 4156, 10, 'UPS_op value not normal', '220', '2020-04-07', '22:43:40'),
(25, 4156, 10, 'Parameter/s fixed', 'A', '2020-04-07', '22:51:22'),
(29, 4156, 12, 'Not Dustfree', 'NOT OK', '2020-04-08', '17:16:01'),
(30, 4156, 12, 'Not Dustfree(update)', 'A', '2020-04-08', '17:16:13'),
(31, 4156, 12, 'OOPS', 'Final submit with errors', '2020-04-08', '17:16:23'),
(149, 4156, 33, 'Report not submitted', 'No Entry', '2020-04-29', '15:55:22'),
(158, 4156, 33, 'Final submit with errors', 'bye', '2020-05-02', '17:59:44'),
(159, 4144, 39, 'UPS_op value not normal', '190', '2020-05-03', '01:07:11'),
(160, 4144, 39, 'Not Dustfree', 'NOT OK', '2020-05-03', '01:07:11'),
(161, 4144, 39, 'UPS_op value not normal(update)', '220', '2020-05-03', '01:07:28'),
(162, 4144, 39, 'Not Dustfree(update)', 'NOT OK', '2020-05-03', '01:07:28'),
(163, 4144, 39, 'Lan status not OK(update)', 'NOT OK', '2020-05-03', '01:07:28'),
(164, 4144, 39, 'Procedure Followed', 'ok', '2020-05-03', '01:07:28'),
(165, 4144, 39, 'Lan status not OK(update)', 'NOT OK', '2020-05-03', '01:07:46'),
(166, 4144, 39, 'Procedure Followed', 'too good', '2020-05-03', '01:07:46'),
(167, 4144, 39, 'Final submit with errors', 'hello', '2020-05-03', '01:07:52'),
(168, 4144, 39, 'All parameters NORMAL', 'good', '2020-05-03', '01:10:33');
-- --------------------------------------------------------
--
-- Table structure for table `dgm`
--
DROP TABLE IF EXISTS `dgm`;
CREATE TABLE IF NOT EXISTS `dgm` (
`dgm_id` int(11) NOT NULL,
`name` varchar(20) DEFAULT NULL,
`designation` varchar(10) DEFAULT NULL,
`a_id` int(11) DEFAULT NULL,
`contact` int(11) DEFAULT NULL,
`password` varchar(128) CHARACTER SET latin1 DEFAULT NULL,
`head_id` int(11) DEFAULT NULL,
`email` varchar(30) NOT NULL,
PRIMARY KEY (`dgm_id`),
KEY `a_id` (`a_id`),
KEY `head_id` (`head_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `dgm`
--
INSERT INTO `dgm` (`dgm_id`, `name`, `designation`, `a_id`, `contact`, `password`, `head_id`, `email`) VALUES
(2102, 'Linus Torvaldas', 'DGM', 1, 904471123, 'pbkdf2_sha256$180000$7LqYYghTlDpY$lXlFwMM4SieeCYZgavDkqEp+I2djxOpf3wqQO8xXC5Q=', 1101, '[email protected]'),
(2111, 'nisarg', 'DGM', 3, 21423, 'pbkdf2_sha256$180000$09KcfPsyU3Bv$wcFubUhX0ytB2QtXkPMVZLgssg+L/R6zfma1uPcYwow=', 1101, '[email protected]'),
(2121, 'ronaldo', 'DGM', 2, 325234, 'pbkdf2_sha256$180000$UP32hN0mNayv$fa5QGPHN15UN/AdtcfNqA6ALw0vu3m2Uy2IDy7+bv7M=', 1101, '[email protected]'),
(2131, 'torentino', 'DGM', 4, 4534, 'pbkdf2_sha256$180000$5LSOl4daoaDe$QnS6ZdjAKIdGsI+pRs/aJMLA57+KZ4Kd/PjJ3i2Z/CA=', 1101, '[email protected]');
-- --------------------------------------------------------
--
-- Table structure for table `dgmreports`
--
DROP TABLE IF EXISTS `dgmreports`;
CREATE TABLE IF NOT EXISTS `dgmreports` (