Mercurial > hg > fapweb
changeset 527:d6726a4883a6
Add "notes" field for entries, to contain notes private to organizers.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 10 Dec 2013 17:49:57 +0200 |
parents | e074775d853e |
children | dd5c5577c495 |
files | createdb.php msite.inc.php |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/createdb.php Tue Dec 10 17:47:35 2013 +0200 +++ b/createdb.php Tue Dec 10 17:49:57 2013 +0200 @@ -211,6 +211,7 @@ 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("flags" , "INT", "DEFAULT 0"), ),
--- a/msite.inc.php Tue Dec 10 17:47:35 2013 +0200 +++ b/msite.inc.php Tue Dec 10 17:49:57 2013 +0200 @@ -30,6 +30,7 @@ define("SET_LEN_ENTRY_AUTHOR", 64); define("SET_LEN_ENTRY_FILENAME", 128); define("SET_LEN_ENTRY_INFO", 1024); +define("SET_LEN_ENTRY_NOTES", 1024); define("SET_LEN_DISP_SLIDE_TITLE", 64); define("SET_LEN_DISP_SLIDE_TEXT", 4096);