added newsitems, added some admin options to clear various caches.

This commit is contained in:
Rob Vermaas
2010-04-27 13:29:08 +00:00
parent e18fe1078a
commit 7a79d17a36
13 changed files with 503 additions and 9 deletions

View File

@ -458,6 +458,18 @@ create table UriRevMapper (
primary key (baseuri)
);
create table NewsItems (
#ifdef POSTGRESQL
id serial primary key not null,
#else
id integer primary key autoincrement not null,
#endif
contents text not null,
createTime integer not null,
author text not null,
foreign key (author) references Users(userName) on delete cascade on update cascade
);
-- Some indices.
create index IndexBuildInputsOnBuild on BuildInputs(build);