mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-30 04:01:05 -05:00
- Convert indents to tabs - Remove unnecessary else statement - Correct PHPDoc formatting
13 lines
336 B
SQL
13 lines
336 B
SQL
|
|
DROP TABLE `ospos_sessions`;
|
|
|
|
CREATE TABLE IF NOT EXISTS `ospos_sessions` (
|
|
`id` varchar(128) NOT null,
|
|
`ip_address` varchar(45) NOT null,
|
|
`timestamp` timestamp DEFAULT CURRENT_TIMESTAMP NOT null,
|
|
`data` blob NOT null,
|
|
KEY `ospos_sessions_timestamp` (`timestamp`)
|
|
);
|
|
|
|
ALTER TABLE ospos_sessions ADD PRIMARY KEY (id, ip_address);
|