Fix error in database script

Add script to reset database easily (with root user)
Remove old git-svn script
This commit is contained in:
jekkos-t520
2015-02-26 22:06:33 +01:00
parent b2f76f3fe6
commit 8981efbd2a
4 changed files with 8 additions and 64 deletions

View File

@@ -119,12 +119,12 @@ INSERT INTO `ospos_employees` (`username`, `password`, `person_id`, `deleted`) V
CREATE TABLE `ospos_giftcards` (
`record_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`giftcard_id` int(11) NOT NULL AUTO_INCREMENT,
`giftcard_number` varchar(25) dcg utf8_unicode_ci NOT NULL,
`giftcard_number` varchar(25) NOT NULL,
`value` decimal(15,2) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
`person_id` INT NOT NULL,
PRIMARY KEY (`giftcard_id`),
UNIQUE KEY `giftcard_number` (`giftcard_number`
UNIQUE KEY `giftcard_number` (`giftcard_number`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--