12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- CREATE TABLE IF NOT EXISTS `wdycinfo` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `date` date NOT NULL,
- `missedcount` int(11) DEFAULT NULL,
- `recallscount` int(11) DEFAULT NULL,
- `unsucccount` int(11) DEFAULT NULL,
- `missednumbers` text,
- PRIMARY KEY (`id`)
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
- ALTER TABLE `taskman` ADD `change_admin` VARCHAR(255) NULL DEFAULT NULL;
- CREATE TABLE IF NOT EXISTS `wh_reshist` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `date` datetime NOT NULL,
- `type` varchar(40) NOT NULL,
- `storageid` int(11) DEFAULT NULL,
- `itemtypeid` int(11) DEFAULT NULL,
- `count` double DEFAULT NULL,
- `employeeid` int(11) DEFAULT NULL,
- `admin` varchar(100) NOT NULL,
- PRIMARY KEY (`id`),
- KEY `date` (`date`,`storageid`,`itemtypeid`)
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
- ALTER TABLE `wh_in` ADD `admin` VARCHAR(100) NULL DEFAULT NULL AFTER `notes`;
- ALTER TABLE `wh_out` ADD `admin` VARCHAR(100) NULL DEFAULT NULL AFTER `notes`;
- ALTER TABLE `employee` ADD `tagid` INT(11) NULL DEFAULT NULL;
- CREATE TABLE IF NOT EXISTS `admannouncements` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `title` varchar(255) DEFAULT NULL,
- `text` text NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
- CREATE TABLE IF NOT EXISTS `admacquainted` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `date` datetime NOT NULL,
- `admin` varchar(40) NOT NULL,
- `annid` int(11) DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `date` (`date`,`admin`)
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
|