2008-04-17 06:58:09 +02:00
|
|
|
CREATE TABLE sm_cookies
|
|
|
|
(
|
|
|
|
id INTEGER unsigned NOT NULL auto_increment,
|
|
|
|
name varchar(30) NOT NULL UNIQUE,
|
|
|
|
description varchar(255),
|
2008-05-12 10:06:47 +02:00
|
|
|
access INTEGER,
|
2008-04-17 06:58:09 +02:00
|
|
|
PRIMARY KEY (id)
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE sm_cookie_cache
|
|
|
|
(
|
|
|
|
player varchar(65) NOT NULL,
|
|
|
|
cookie_id int(10) NOT NULL,
|
|
|
|
value varchar(100),
|
|
|
|
timestamp int NOT NULL,
|
|
|
|
PRIMARY KEY (player, cookie_id)
|
|
|
|
);
|