added timestamp and author fields to codepot_file_list.
touched up some views to get rid of the infostrip class and use the title-band class. added the database_store_gmt option which causes the database models classes to store date and time in GMT.
This commit is contained in:
@ -187,6 +187,11 @@ CREATE TABLE file_list (
|
||||
md5sum CHAR(32) NOT NULL,
|
||||
description VARCHAR(255) NOT NULL,
|
||||
|
||||
createdon DATETIME NOT NULL,
|
||||
updatedon DATETIME NOT NULL,
|
||||
createdby VARCHAR(32) NOT NULL,
|
||||
updatedby VARCHAR(32) NOT NULL,
|
||||
|
||||
INDEX file_list_id (projectid, name),
|
||||
UNIQUE KEY file_list_fileid (projectid, filename),
|
||||
UNIQUE KEY (encname),
|
||||
|
@ -170,6 +170,10 @@ CREATE TABLE "cpot_file_list" (
|
||||
"encname" VARCHAR(255) NOT NULL,
|
||||
"md5sum" CHAR(32) NOT NULL,
|
||||
"description" CLOB NOT NULL,
|
||||
"createdon" TIMESTAMP NOT NULL,
|
||||
"updatedon" TIMESTAMP NOT NULL,
|
||||
"createdby" VARCHAR(32) NOT NULL,
|
||||
"updatedby" VARCHAR(32) NOT NULL,
|
||||
UNIQUE ("projectid", "filename"),
|
||||
UNIQUE ("encname"),
|
||||
CONSTRAINT file_list_projectid FOREIGN KEY ("projectid","name") REFERENCES "cpot_file"("projectid","name")
|
||||
|
@ -225,6 +225,11 @@ CREATE TABLE file_list (
|
||||
md5sum CHAR(32) NOT NULL,
|
||||
description VARCHAR(255) NOT NULL,
|
||||
|
||||
createdon TIMESTAMP NOT NULL,
|
||||
updatedon TIMESTAMP NOT NULL,
|
||||
createdby VARCHAR(32) NOT NULL,
|
||||
updatedby VARCHAR(32) NOT NULL,
|
||||
|
||||
UNIQUE (projectid, filename),
|
||||
UNIQUE (encname),
|
||||
|
||||
|
Reference in New Issue
Block a user