Mercurial > hg > fapweb
diff dbdefs.inc.php @ 821:f27dccdde8ef
Partially remove old filename stuff from entries. Still some vestiges
remain, however.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 Nov 2014 22:42:17 +0200 |
parents | 24bbd1f89794 |
children | fc555d954b99 |
line wrap: on
line diff
--- a/dbdefs.inc.php Mon Nov 24 22:31:47 2014 +0200 +++ b/dbdefs.inc.php Mon Nov 24 22:42:17 2014 +0200 @@ -280,12 +280,15 @@ array("name" , "VARCHAR(".SET_LEN_ENTRY_NAME.")"), array("author" , "VARCHAR(".SET_LEN_ENTRY_AUTHOR.")"), array("compo_id" , "INT", "DEFAULT 0"), - array("filename" , "VARCHAR(".SET_LEN_ENTRY_FILENAME.")", "DEFAULT NULL"), array("info" , "VARCHAR(".SET_LEN_ENTRY_INFO.")", "DEFAULT NULL"), array("notes" , "VARCHAR(".SET_LEN_ENTRY_NOTES.")", "DEFAULT NULL"), - array("preview_type" , "INT", "DEFAULT 0"), array("flags" , "INT", "DEFAULT 0"), array("evalue" , "INT", "DEFAULT 0"), + array("file_id" , "INT", "DEFAULT 0"), // currently default file from "files" table + array("preview_type" , "INT", "DEFAULT 0"), // see EPREV_*, overrides compo's general type if != 0 + array("utime" , "INT", "DEFAULT 0"), + array("owner_id" , "INT", "DEFAULT 0"), // 0 = admin, otherwise votekey id + ), ), "attendees" => array(