mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-01 05:01:14 -05:00
- Replaced TRUE/FALSE constants with true/false keywords - Replaced NULL constant with null keyword - Replaced `<?php echo` in views with shortened `<?=` - Added missing variable declaration - Added missing function return type in declaration - replaced `== true`, `== false`, `=== true` and `=== false` in if statements with simplified forms
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);
|