mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-19 06:52:00 -04:00
Change sessions to be stored in database and add SQL upgrade script 2.3.4 to 2.4 (#120)
This commit is contained in:
1 parent
f8c9acd88f
commit
830f714a44
2 files changed
+12
-4
No files matched your search
@@ -0,0 +1,10 @@
|
||||
-- alter sessions table
|
||||
DROP TABLE `ospos_sessions`;
|
||||
|
||||
CREATE TABLE `ospos_sessions` (
|
||||
`id` varchar(40) NOT NULL DEFAULT '0',
|
||||
`ip_address` varchar(45) NOT NULL DEFAULT '0',
|
||||
`data` blob,
|
||||
`timestamp` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
Reference in new issue
Block a user