1 |
-- MySQL dump 10.9 |
2 |
-- |
3 |
-- Host: pamela_1.ntsomz.ru Database: rawreader |
4 |
-- ------------------------------------------------------ |
5 |
-- Server version 4.1.14-standard-log |
6 |
|
7 |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
8 |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
9 |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
10 |
/*!40101 SET NAMES utf8 */; |
11 |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
12 |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
13 |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
14 |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
15 |
|
16 |
-- |
17 |
-- Table structure for table `FILES` |
18 |
-- |
19 |
|
20 |
DROP TABLE IF EXISTS `FILES`; |
21 |
CREATE TABLE `FILES` ( |
22 |
`cirquit_n` int(11) NOT NULL default '0', |
23 |
`route_n` smallint(6) NOT NULL default '0', |
24 |
`counter` smallint(4) NOT NULL default '0', |
25 |
`qual_index` float NOT NULL default '0', |
26 |
`ready` tinyint(1) NOT NULL default '0', |
27 |
`deleted` tinyint(1) NOT NULL default '0', |
28 |
`date` date NOT NULL default '0000-00-00', |
29 |
`archived` tinyint(1) NOT NULL default '0', |
30 |
`path` text NOT NULL, |
31 |
`cln2_name` text NOT NULL, |
32 |
`proces_flag` tinyint(1) NOT NULL default '0', |
33 |
`transit_flag` tinyint(4) NOT NULL default '0', |
34 |
PRIMARY KEY (`cirquit_n`,`route_n`,`counter`) |
35 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
36 |
|
37 |
-- |
38 |
-- Table structure for table `FILES1` |
39 |
-- |
40 |
|
41 |
DROP TABLE IF EXISTS `FILES1`; |
42 |
CREATE TABLE `FILES1` ( |
43 |
`raw_filename` text NOT NULL, |
44 |
`pam_size` float NOT NULL default '0', |
45 |
`cirquit_n` int(11) NOT NULL default '0', |
46 |
`route_n` smallint(4) NOT NULL default '0', |
47 |
`route_real` smallint(4) NOT NULL default '0', |
48 |
`counter` smallint(4) NOT NULL default '0', |
49 |
`board_time` int(12) NOT NULL default '0', |
50 |
`Num_all` int(11) NOT NULL default '0', |
51 |
`Num_macro` int(11) NOT NULL default '0', |
52 |
`flag_twice` tinyint(2) NOT NULL default '0', |
53 |
`my_route` int(10) NOT NULL default '0', |
54 |
PRIMARY KEY (`cirquit_n`,`route_n`,`counter`) |
55 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
56 |
|
57 |
-- |
58 |
-- Table structure for table `Orders` |
59 |
-- |
60 |
|
61 |
DROP TABLE IF EXISTS `Orders`; |
62 |
CREATE TABLE `Orders` ( |
63 |
`order_id` int(11) NOT NULL default '0', |
64 |
`user_id` varchar(20) NOT NULL default '', |
65 |
`date` date NOT NULL default '0000-00-00', |
66 |
`time` time NOT NULL default '00:00:00', |
67 |
`path` text NOT NULL, |
68 |
`filename` text NOT NULL, |
69 |
PRIMARY KEY (`order_id`) |
70 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
71 |
|
72 |
-- |
73 |
-- Table structure for table `Orders2` |
74 |
-- |
75 |
|
76 |
DROP TABLE IF EXISTS `Orders2`; |
77 |
CREATE TABLE `Orders2` ( |
78 |
`order_id` int(11) NOT NULL default '0', |
79 |
`user_id` varchar(20) NOT NULL default '', |
80 |
PRIMARY KEY (`order_id`) |
81 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
82 |
|
83 |
-- |
84 |
-- Table structure for table `Orders3` |
85 |
-- |
86 |
|
87 |
DROP TABLE IF EXISTS `Orders3`; |
88 |
CREATE TABLE `Orders3` ( |
89 |
`order_id` int(11) NOT NULL default '0', |
90 |
`date` date NOT NULL default '0000-00-00', |
91 |
`user_id` varchar(20) NOT NULL default '', |
92 |
`circuit_time` timestamp NOT NULL default '0000-00-00 00:00:00', |
93 |
`path` text NOT NULL, |
94 |
`filename` text NOT NULL, |
95 |
PRIMARY KEY (`order_id`) |
96 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
97 |
|
98 |
-- |
99 |
-- Table structure for table `Records` |
100 |
-- |
101 |
|
102 |
DROP TABLE IF EXISTS `Records`; |
103 |
CREATE TABLE `Records` ( |
104 |
`order_id` int(11) NOT NULL default '0', |
105 |
`record_id` int(11) NOT NULL default '0', |
106 |
`circuit_no` int(11) NOT NULL default '0', |
107 |
`circuit_date` date NOT NULL default '0000-00-00', |
108 |
`circuit_time` time NOT NULL default '00:00:00', |
109 |
`route_no` smallint(6) NOT NULL default '0', |
110 |
`data_amount` float NOT NULL default '0', |
111 |
`done` tinyint(2) NOT NULL default '0', |
112 |
`ord_DLink` int(11) NOT NULL default '0', |
113 |
`rec_DLink` int(11) NOT NULL default '0', |
114 |
PRIMARY KEY (`order_id`,`record_id`) |
115 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
116 |
|
117 |
-- |
118 |
-- Table structure for table `Records2` |
119 |
-- |
120 |
|
121 |
DROP TABLE IF EXISTS `Records2`; |
122 |
CREATE TABLE `Records2` ( |
123 |
`order_id` int(11) NOT NULL default '0', |
124 |
`record_id` int(11) NOT NULL default '0', |
125 |
`date` date NOT NULL default '0000-00-00', |
126 |
`cirquit_time` time NOT NULL default '00:00:00', |
127 |
`cirquit_no` int(11) NOT NULL default '0', |
128 |
`repeat_flag` tinyint(1) NOT NULL default '0', |
129 |
`date_book` date NOT NULL default '0000-00-00', |
130 |
`data_id` int(4) NOT NULL default '0', |
131 |
`data_id_day` int(4) NOT NULL default '0', |
132 |
`ord_DLoad` int(11) NOT NULL default '0', |
133 |
`rec_DLoad` int(11) NOT NULL default '0', |
134 |
PRIMARY KEY (`order_id`,`record_id`) |
135 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
136 |
|
137 |
-- |
138 |
-- Table structure for table `Records3` |
139 |
-- |
140 |
|
141 |
DROP TABLE IF EXISTS `Records3`; |
142 |
CREATE TABLE `Records3` ( |
143 |
`order_id` int(11) NOT NULL default '0', |
144 |
`record_id` int(11) NOT NULL default '0', |
145 |
`record_type` text NOT NULL, |
146 |
`settime` timestamp NOT NULL default '0000-00-00 00:00:00', |
147 |
PRIMARY KEY (`order_id`,`record_id`) |
148 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
149 |
|
150 |
-- |
151 |
-- Table structure for table `Users` |
152 |
-- |
153 |
|
154 |
DROP TABLE IF EXISTS `Users`; |
155 |
CREATE TABLE `Users` ( |
156 |
`user_id` varchar(20) NOT NULL default '0', |
157 |
`name` varchar(40) NOT NULL default '0', |
158 |
`password` varchar(20) NOT NULL default '', |
159 |
`priv` smallint(6) NOT NULL default '2', |
160 |
`block` tinyint(1) NOT NULL default '0', |
161 |
PRIMARY KEY (`user_id`) |
162 |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
163 |
|
164 |
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
165 |
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
166 |
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
167 |
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
168 |
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
169 |
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
170 |
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
171 |
|