Revision dafbc5d3 src/vnm/VirtualNetwork.cc

View differences:

src/vnm/VirtualNetwork.cc
78 78
const char * VirtualNetwork::table        = "network_pool";
79 79

  
80 80
const char * VirtualNetwork::db_names =
81
        "oid, name, body, uid, gid, owner_u, group_u, other_u";
81
        "oid, name, body, uid, gid, owner_u, group_u, other_u, cid";
82 82

  
83 83
const char * VirtualNetwork::db_bootstrap = "CREATE TABLE IF NOT EXISTS"
84 84
    " network_pool (oid INTEGER PRIMARY KEY, name VARCHAR(128),"
85
    " body TEXT, uid INTEGER, gid INTEGER, "
86
    "owner_u INTEGER, group_u INTEGER, other_u INTEGER, UNIQUE(name,uid))";
85
    " body TEXT, uid INTEGER, gid INTEGER,"
86
    " owner_u INTEGER, group_u INTEGER, other_u INTEGER,"
87
    " cid INTEGER, UNIQUE(name,uid))";
87 88

  
88 89
/* -------------------------------------------------------------------------- */
89 90
/* -------------------------------------------------------------------------- */
......
393 394
        <<          gid         << ","
394 395
        <<          owner_u     << ","
395 396
        <<          group_u     << ","
396
        <<          other_u     << ")";
397
        <<          other_u     << ","
398
        <<          cluster_id  << ")";
397 399

  
398 400
    rc = db->exec(oss);
399 401

  

Also available in: Unified diff