IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 24, 2010, 3:56:40 PM (16 years ago)
Author:
watersc1
Message:

Add note to nebulous volume and mountedvol tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm

    r28446 r28492  
    367367    },
    368368    new_volume          => qq{
    369         INSERT INTO volume (name, host, path, allocate, available, xattr, mountpoint, cab_id)
    370         VALUES (?, ?, ?, TRUE, TRUE, FALSE, ?, NULL)
     369        INSERT INTO volume (name, host, path, allocate, available, xattr, mountpoint, cab_id, note)
     370        VALUES (?, ?, ?, TRUE, TRUE, FALSE, ?, NULL, ?)
    371371    },
    372372    get_volume_by_name => qq{
     
    385385            v.xattr,
    386386            mountedvol.vol_id IS NOT NULL as mounted,
    387             v.cab_id
     387            v.cab_id,
     388            v.note
    388389        FROM volume AS v
    389390        LEFT JOIN mountedvol
     
    689690    mountpoint VARCHAR(255) NOT NULL,
    690691    cab_id INT,
     692    note VARCHAR(255),
    691693    PRIMARY KEY(vol_id),
    692694    UNIQUE KEY(name),
     
    715717    total BIGINT NOT NULL,
    716718    used BIGINT NOT NULL,
     719    note VARCHAR(255),
    717720    PRIMARY KEY(vol_id),
    718721    KEY(name),
Note: See TracChangeset for help on using the changeset viewer.