Mercurial > hg > fapweb
changeset 506:d29166d97b46
Change some database field sizes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Dec 2013 19:36:22 +0200 |
parents | f66aa0cdb666 |
children | 469ec1093076 |
files | createdb.php msite.inc.php |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/createdb.php Sat Dec 07 19:35:32 2013 +0200 +++ b/createdb.php Sat Dec 07 19:36:22 2013 +0200 @@ -5,7 +5,7 @@ stCheckCLIExec(); -$dbVersion = 10; +$dbVersion = 11; $dbMeta = array( "dbVersion" => array(VT_INT, $dbVersion, "Database version"),
--- a/msite.inc.php Sat Dec 07 19:35:32 2013 +0200 +++ b/msite.inc.php Sat Dec 07 19:36:22 2013 +0200 @@ -29,9 +29,9 @@ define("SET_LEN_ENTRY_NAME", 64); define("SET_LEN_ENTRY_AUTHOR", 64); define("SET_LEN_ENTRY_FILENAME", 256); -define("SET_LEN_ENTRY_INFO", 256); +define("SET_LEN_ENTRY_INFO", 1024); -define("SET_LEN_DISP_SLIDE_TITLE", 128); +define("SET_LEN_DISP_SLIDE_TITLE", 64); define("SET_LEN_DISP_SLIDE_TEXT", 4096); define("SET_LEN_ROT_LIST_NAME", 128);