1.2.1.sql 430 B

12345678910111213
  1. CREATE TABLE IF NOT EXISTS `wh_returns` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `outid` int(11) NOT NULL,
  4. `storageid` int(11) NOT NULL,
  5. `itemtypeid` int(11) NOT NULL,
  6. `count` DOUBLE NOT NULL,
  7. `price` DOUBLE NOT NULL,
  8. `date` datetime NOT NULL,
  9. `admin` varchar(64) DEFAULT NULL,
  10. `note` varchar(255) DEFAULT NULL,
  11. PRIMARY KEY (`id`),
  12. KEY `outid` (`outid`)
  13. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;