Revision 15ff8b16 src/vm/VirtualMachine.cc

View differences:

src/vm/VirtualMachine.cc
112 112
    "owner_u, group_u, other_u";
113 113

  
114 114
const char * VirtualMachine::db_bootstrap = "CREATE TABLE IF NOT EXISTS "
115
    "vm_pool (oid INTEGER PRIMARY KEY, name VARCHAR(128), body TEXT, uid INTEGER, "
115
    "vm_pool (oid INTEGER PRIMARY KEY, name VARCHAR(128), body MEDIUMTEXT, uid INTEGER, "
116 116
    "gid INTEGER, last_poll INTEGER, state INTEGER, lcm_state INTEGER, "
117 117
    "owner_u INTEGER, group_u INTEGER, other_u INTEGER)";
118 118

  
......
122 122
const char * VirtualMachine::monit_db_names = "vmid, last_poll, body";
123 123

  
124 124
const char * VirtualMachine::monit_db_bootstrap = "CREATE TABLE IF NOT EXISTS "
125
    "vm_monitoring (vmid INTEGER, last_poll INTEGER, body TEXT, "
125
    "vm_monitoring (vmid INTEGER, last_poll INTEGER, body MEDIUMTEXT, "
126 126
    "PRIMARY KEY(vmid, last_poll))";
127 127

  
128 128
/* -------------------------------------------------------------------------- */

Also available in: Unified diff