Revision 15ff8b16 src/host/Host.cc

View differences:

src/host/Host.cc
65 65
    "oid, name, body, state, last_mon_time, uid, gid, owner_u, group_u, other_u, cid";
66 66

  
67 67
const char * Host::db_bootstrap = "CREATE TABLE IF NOT EXISTS host_pool ("
68
    "oid INTEGER PRIMARY KEY, name VARCHAR(128), body TEXT, state INTEGER, "
68
    "oid INTEGER PRIMARY KEY, name VARCHAR(128), body MEDIUMTEXT, state INTEGER, "
69 69
    "last_mon_time INTEGER, uid INTEGER, gid INTEGER, owner_u INTEGER, "
70 70
    "group_u INTEGER, other_u INTEGER, cid INTEGER, UNIQUE(name))";
71 71

  
......
75 75
const char * Host::monit_db_names = "hid, last_mon_time, body";
76 76

  
77 77
const char * Host::monit_db_bootstrap = "CREATE TABLE IF NOT EXISTS "
78
    "host_monitoring (hid INTEGER, last_mon_time INTEGER, body TEXT, "
78
    "host_monitoring (hid INTEGER, last_mon_time INTEGER, body MEDIUMTEXT, "
79 79
    "PRIMARY KEY(hid, last_mon_time))";
80 80
/* ------------------------------------------------------------------------ */
81 81
/* ------------------------------------------------------------------------ */

Also available in: Unified diff