mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-12 02:48:48 -04:00
Update database/tables.sql script with new sessions table (#120)
This commit is contained in:
@@ -651,12 +651,11 @@ CREATE TABLE `ospos_sales_suspended_payments` (
|
||||
--
|
||||
|
||||
CREATE TABLE `ospos_sessions` (
|
||||
`session_id` varchar(40) NOT NULL DEFAULT '0',
|
||||
`id` varchar(40) NOT NULL DEFAULT '0',
|
||||
`ip_address` varchar(45) NOT NULL DEFAULT '0',
|
||||
`user_agent` varchar(120) NOT NULL,
|
||||
`last_activity` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`user_data` text,
|
||||
PRIMARY KEY (`session_id`)
|
||||
`data` blob NOT NULL,
|
||||
`timestamp` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user