Ignore:
Timestamp:
Jul 19, 2000, 11:29:36 PM (25 years ago)
Author:
bird
Message:

Added column 'weigth' to the state table.
This column hold the weigth functions in that state should have when
calculating the total completion percentage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/States.sql

    r1935 r3865  
    1 -- $Id: States.sql,v 1.2 1999-12-02 12:05:47 bird Exp $
     1-- $Id: States.sql,v 1.3 2000-07-19 21:29:36 bird Exp $
    22--
    33-- Insert states into the state table.
     
    77DELETE FROM state;
    88
     9--      refcode color    weight  name                       description
    910INSERT INTO state
    10     VALUES (0, '#000080', 'Not Implemented', 'Not implemented.');
     11    VALUES (0, '#000080',   0,  'Not Implemented',          'Not implemented.');
    1112INSERT INTO state
    12     VALUES (1, '#0000FF', 'Stub', 'Stub-function. Does nothing.');
     13    VALUES (1, '#0000FF',   5,  'Stub',                    'Stub-function. Does nothing.');
    1314INSERT INTO state
    14     VALUES (2, '#808000', 'Partially', 'Partially implemented. Not Tested.');
     15    VALUES (2, '#808000',  20,  'Partially',                'Partially implemented. Not Tested.');
    1516INSERT INTO state
    16     VALUES (3, '#FFFF00', 'Partially Tested', 'Partially implemented. Tested and approved.');
     17    VALUES (3, '#FFFF00',  25,  'Partially Tested',        'Partially implemented. Tested and approved.');
    1718INSERT INTO state
    18     VALUES (4, '#008000', 'Completely', 'Completely implemented. Not tested.');
     19    VALUES (4, '#008000',  90,  'Completely',              'Completely implemented. Not tested.');
    1920INSERT INTO state
    20     VALUES (5, '#00FF00', 'Completely Tested', 'Completely implemented. Tested and approved.');
     21    VALUES (5, '#00FF00', 100,  'Completely Tested',        'Completely implemented. Tested and approved.');
    2122INSERT INTO state
    22     VALUES (6, '#808080', 'Open32 Partially', 'Partially implemented. Not Tested.');
     23    VALUES (6, '#808080',  20,  'Open32 Partially',        'Partially implemented. Not Tested.');
    2324INSERT INTO state
    24     VALUES (7, '#FFFF80', 'Open32 Partially Tested', 'Partially implemented. Tested and approved.');
     25    VALUES (7, '#FFFF80',  25,  'Open32 Partially Tested', 'Partially implemented. Tested and approved.');
    2526INSERT INTO state
    26     VALUES (8, '#008080', 'Open32 Completely', 'Completely implemented. Not tested.');
     27    VALUES (8, '#008080',  90,  'Open32 Completely',        'Completely implemented. Not tested.');
    2728INSERT INTO state
    28     VALUES (9, '#00FF80', 'Open32 Completely Tested', 'Completely implemented. Tested and approved.');
     29    VALUES (9, '#00FF80', 100,  'Open32 Completely Tested', 'Completely implemented. Tested and approved.');
    2930INSERT INTO state
    30     VALUES (99, '#FF0000', 'Unknown', 'The state of this function is unknown.');
     31    VALUES (99, '#FF0000', 25,  'Unknown',                  'The state of this function is unknown.');
    3132
    3233
Note: See TracChangeset for help on using the changeset viewer.