antville/antville_dbpatch20020125.sql

35 lines
830 B
MySQL
Raw Normal View History

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;
insert into IMAGE (ALIAS,FILENAME,FILEEXT,WIDTH,HEIGHT,ALTTEXT) values ('xmlbutton','xmlbutton','gif',36,14,'xml version of this page');
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));
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));
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));