"Fossies" - the Fresh Open Source Software Archive

Member "RT-Extension-Assets-1.05/etc/schema.SQLite" (24 May 2013, 1363 Bytes) of package /linux/misc/RT-Extension-Assets-1.05.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 CREATE TABLE RTxAssets (
    2     id                INTEGER PRIMARY KEY,
    3     Name              varchar(255)    NOT NULL DEFAULT '',
    4     Catalog           int(11)         NOT NULL DEFAULT 0,
    5     Status            varchar(64)     NOT NULL DEFAULT '',
    6     Description       varchar(255)    NOT NULL DEFAULT '',
    7     Creator           int(11)         NOT NULL DEFAULT 0,
    8     Created           timestamp                DEFAULT NULL,
    9     LastUpdatedBy     int(11)         NOT NULL DEFAULT 0,
   10     LastUpdated       timestamp                DEFAULT NULL
   11 );
   12 
   13 CREATE INDEX RTxAssetsName on RTxAssets (Name);
   14 CREATE INDEX RTxAssetsStatus ON RTxAssets (Status);
   15 CREATE INDEX RTxAssetsCatalog ON RTxAssets (Catalog);
   16 
   17 CREATE TABLE RTxCatalogs (
   18     id                INTEGER PRIMARY KEY,
   19     Name              varchar(255)    NOT NULL DEFAULT '',
   20     Lifecycle         varchar(32)     NOT NULL DEFAULT 'assets',
   21     Description       varchar(255)    NOT NULL DEFAULT '',
   22     Disabled          int2            NOT NULL DEFAULT 0,
   23     Creator           int(11)         NOT NULL DEFAULT 0,
   24     Created           timestamp                DEFAULT NULL,
   25     LastUpdatedBy     int(11)         NOT NULL DEFAULT 0,
   26     LastUpdated       timestamp                DEFAULT NULL
   27 );
   28 
   29 CREATE INDEX RTxCatalogsName on RTxCatalogs (Name);
   30 CREATE INDEX RTxCatalogsDisabled ON RTxCatalogs (Disabled);