mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-13 03:18:04 -04:00
Fix error in database script
Add script to reset database easily (with root user) Remove old git-svn script
This commit is contained in:
@@ -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;
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user