2002-01-25 17:57:44 +00:00
|
|
|
use antville;
|
|
|
|
|
2002-02-04 09:37:34 +00:00
|
|
|
alter table ACCESS change column ID ID bigint(20) not null auto_increment;
|
|
|
|
|
2002-02-05 15:33:27 +00:00
|
|
|
insert into IMAGE (ALIAS,FILENAME,FILEEXT,WIDTH,HEIGHT,ALTTEXT) values ('xmlbutton','xmlbutton','gif',36,14,'xml version of this page');
|
2002-02-04 16:52:02 +00:00
|
|
|
|
2002-01-28 09:31:06 +00:00
|
|
|
create table CHOICE (
|
2002-01-25 17:57:44 +00:00
|
|
|
ID bigint(20) not null,
|
|
|
|
POLL_ID bigint(20),
|
|
|
|
TITLE mediumtext,
|
|
|
|
CREATETIME datetime,
|
|
|
|
MODIFYTIME datetime,
|
|
|
|
unique ID (ID));
|
|
|
|
|
2002-01-28 09:31:06 +00:00
|
|
|
create table POLL (
|
2002-01-25 17:57:44 +00:00
|
|
|
ID bigint(20) not null,
|
|
|
|
WEBLOG_ID bigint(20),
|
|
|
|
USER_ID bigint(20),
|
|
|
|
TITLE mediumtext,
|
|
|
|
QUESTION mediumtext,
|
|
|
|
CLOSED tinyint(4),
|
|
|
|
CREATETIME datetime,
|
|
|
|
MODIFYTIME datetime,
|
|
|
|
unique ID (ID));
|
|
|
|
|
2002-01-28 09:31:06 +00:00
|
|
|
create table VOTE (
|
2002-01-25 17:57:44 +00:00
|
|
|
ID bigint(20) not null,
|
|
|
|
POLL_ID bigint(20),
|
|
|
|
USER_ID bigint(20),
|
|
|
|
CHOICE_ID bigint(20),
|
|
|
|
USERNAME tinytext,
|
|
|
|
CREATETIME datetime,
|
|
|
|
MODIFYTIME datetime,
|
|
|
|
unique ID (ID));
|