1.0.6.sql 525 B

1234567891011121314
  1. ALTER TABLE `vservices` MODIFY `price` double NOT NULL DEFAULT 0;
  2. ALTER TABLE `vservices` ADD `charge_period_days` tinyint(3) NOT NULL DEFAULT 0;
  3. CREATE TABLE IF NOT EXISTS `invoices` (
  4. `id` int(11) NOT NULL AUTO_INCREMENT,
  5. `login` varchar(50) NOT NULL,
  6. `invoice_num` varchar(40) NOT NULL DEFAULT '',
  7. `invoice_date` datetime NOT NULL,
  8. `invoice_sum` double NOT NULL DEFAULT 0,
  9. `invoice_body` text NOT NULL,
  10. PRIMARY KEY (`id`),
  11. UNIQUE KEY (`invoice_num`)
  12. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;