-- MySQL dump 10.9 -- -- Host: pamela_1.ntsomz.ru Database: rawreader -- ------------------------------------------------------ -- Server version 4.1.14-standard-log /*!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 utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!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 */; -- -- Table structure for table `FILES` -- DROP TABLE IF EXISTS `FILES`; CREATE TABLE `FILES` ( `cirquit_n` int(11) NOT NULL default '0', `route_n` smallint(6) NOT NULL default '0', `counter` smallint(4) NOT NULL default '0', `qual_index` float NOT NULL default '0', `ready` tinyint(1) NOT NULL default '0', `deleted` tinyint(1) NOT NULL default '0', `date` date NOT NULL default '0000-00-00', `archived` tinyint(1) NOT NULL default '0', `path` text NOT NULL, `cln2_name` text NOT NULL, `proces_flag` tinyint(1) NOT NULL default '0', `transit_flag` tinyint(4) NOT NULL default '0', PRIMARY KEY (`cirquit_n`,`route_n`,`counter`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `FILES1` -- DROP TABLE IF EXISTS `FILES1`; CREATE TABLE `FILES1` ( `raw_filename` text NOT NULL, `pam_size` float NOT NULL default '0', `cirquit_n` int(11) NOT NULL default '0', `route_n` smallint(4) NOT NULL default '0', `route_real` smallint(4) NOT NULL default '0', `counter` smallint(4) NOT NULL default '0', `board_time` int(12) NOT NULL default '0', `Num_all` int(11) NOT NULL default '0', `Num_macro` int(11) NOT NULL default '0', `flag_twice` tinyint(2) NOT NULL default '0', `my_route` int(10) NOT NULL default '0', PRIMARY KEY (`cirquit_n`,`route_n`,`counter`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `Orders` -- DROP TABLE IF EXISTS `Orders`; CREATE TABLE `Orders` ( `order_id` int(11) NOT NULL default '0', `user_id` varchar(20) NOT NULL default '', `date` date NOT NULL default '0000-00-00', `time` time NOT NULL default '00:00:00', `path` text NOT NULL, `filename` text NOT NULL, PRIMARY KEY (`order_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `Orders2` -- DROP TABLE IF EXISTS `Orders2`; CREATE TABLE `Orders2` ( `order_id` int(11) NOT NULL default '0', `user_id` varchar(20) NOT NULL default '', PRIMARY KEY (`order_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `Orders3` -- DROP TABLE IF EXISTS `Orders3`; CREATE TABLE `Orders3` ( `order_id` int(11) NOT NULL default '0', `date` date NOT NULL default '0000-00-00', `user_id` varchar(20) NOT NULL default '', `circuit_time` timestamp NOT NULL default '0000-00-00 00:00:00', `path` text NOT NULL, `filename` text NOT NULL, PRIMARY KEY (`order_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `Records` -- DROP TABLE IF EXISTS `Records`; CREATE TABLE `Records` ( `order_id` int(11) NOT NULL default '0', `record_id` int(11) NOT NULL default '0', `circuit_no` int(11) NOT NULL default '0', `circuit_date` date NOT NULL default '0000-00-00', `circuit_time` time NOT NULL default '00:00:00', `route_no` smallint(6) NOT NULL default '0', `data_amount` float NOT NULL default '0', `done` tinyint(2) NOT NULL default '0', `ord_DLink` int(11) NOT NULL default '0', `rec_DLink` int(11) NOT NULL default '0', PRIMARY KEY (`order_id`,`record_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `Records2` -- DROP TABLE IF EXISTS `Records2`; CREATE TABLE `Records2` ( `order_id` int(11) NOT NULL default '0', `record_id` int(11) NOT NULL default '0', `date` date NOT NULL default '0000-00-00', `cirquit_time` time NOT NULL default '00:00:00', `cirquit_no` int(11) NOT NULL default '0', `repeat_flag` tinyint(1) NOT NULL default '0', `date_book` date NOT NULL default '0000-00-00', `data_id` int(4) NOT NULL default '0', `data_id_day` int(4) NOT NULL default '0', `ord_DLoad` int(11) NOT NULL default '0', `rec_DLoad` int(11) NOT NULL default '0', PRIMARY KEY (`order_id`,`record_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `Records3` -- DROP TABLE IF EXISTS `Records3`; CREATE TABLE `Records3` ( `order_id` int(11) NOT NULL default '0', `record_id` int(11) NOT NULL default '0', `record_type` text NOT NULL, `settime` timestamp NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`order_id`,`record_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `Users` -- DROP TABLE IF EXISTS `Users`; CREATE TABLE `Users` ( `user_id` varchar(20) NOT NULL default '0', `name` varchar(40) NOT NULL default '0', `password` varchar(20) NOT NULL default '', `priv` smallint(6) NOT NULL default '2', `block` tinyint(1) NOT NULL default '0', PRIMARY KEY (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;