Regenerate sql scripts for hashing upgrade (#822)

This commit is contained in:
jekkos
2016-09-01 19:20:50 +02:00
parent 35f9904dbe
commit eb59079fe5
4 changed files with 4 additions and 2 deletions

View File

@@ -73,7 +73,7 @@
<link rel="stylesheet" type="text/css" href="dist/style.css"/>
<!-- end mincss template tags -->
<!-- start minjs template tags -->
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=2ea05557c1"></script>
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=e149b9a4ba"></script>
<!-- end minjs template tags -->
<?php endif; ?>

View File

@@ -115,6 +115,7 @@ CREATE TABLE `ospos_employees` (
`password` varchar(255) NOT NULL,
`person_id` int(10) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
`hash_version` int(1) NOT NULL DEFAULT '2'
UNIQUE KEY `username` (`username`),
KEY `person_id` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@@ -115,6 +115,7 @@ CREATE TABLE `ospos_employees` (
`password` varchar(255) NOT NULL,
`person_id` int(10) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
`hash_version` int(1) NOT NULL DEFAULT '2'
UNIQUE KEY `username` (`username`),
KEY `person_id` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

File diff suppressed because one or more lines are too long