source: web/database.sql

Last change on this file was 17, checked in by chronos, 8 years ago
  • Modified: Old database class replaced by newer from Common package to fix compatibility with PHP7.
File size: 704 bytes
Line 
1CREATE TABLE IF NOT EXISTS `stat` (
2 `id` int(11) NOT NULL auto_increment,
3 `category` varchar(255) NOT NULL default '',
4 `name` varchar(255) NOT NULL default '',
5 `hits` int(11) NOT NULL default '0',
6 `date` date NOT NULL,
7 PRIMARY KEY (`id`)
8) ENGINE=InnoDB DEFAULT CHARSET=utf8;
9
10-- --------------------------------------------------------
11
12CREATE TABLE IF NOT EXISTS `user_notes` (
13 `id` int(11) NOT NULL auto_increment,
14 `time` datetime NOT NULL,
15 `nick` varchar(32) NOT NULL default '',
16 `title` varchar(64) NOT NULL default '',
17 `content` varchar(255) NOT NULL default '',
18 `remote_addr` varchar(128) NOT NULL default '',
19 PRIMARY KEY (`id`)
20) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Note: See TracBrowser for help on using the repository browser.