ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Schema/RefDBLegacy/OracleApps.sql
(Generate patch)

Comparing COMP/DBS/Schema/RefDBLegacy/OracleApps.sql (file contents):
Revision 1.4 by lat, Mon Oct 10 20:19:48 2005 UTC vs.
Revision 1.6 by lat, Thu Oct 13 07:08:23 2005 UTC

# Line 10 | Line 10 | create table t_collection_type
10     name                         varchar (1000)  not null,
11     created_at                   float           not null,
12     created_by                   integer         not null,
13 <   modified_at                  float           not null,
14 <   modified_by                  integer         not null);
13 >   modified_at                  float,
14 >   modified_by                  integer);
15  
16   create table t_app_family
17    (id                           integer         not null,
18     name                         varchar (1000)  not null,
19     created_at                   float           not null,
20     created_by                   integer         not null,
21 <   modified_at                  float           not null,
22 <   modified_by                  integer         not null);
21 >   modified_at                  float,
22 >   modified_by                  integer);
23  
24   create table t_application
25    (id                           integer         not null,
# Line 30 | Line 30 | create table t_application
30     output_type                  integer         not null,
31     created_at                   float           not null,
32     created_by                   integer         not null,
33 <   modified_at                  float           not null,
34 <   modified_by                  integer         not null);
33 >   modified_at                  float,
34 >   modified_by                  integer);
35  
36   create table t_app_config
37    (id                           integer         not null,
38     application                  integer         not null,
39 +   parameter_set                varchar (1000)  not null,  -- FIXME!
40     conditions_version           varchar (1000)  not null,
41     created_at                   float           not null,
42     created_by                   integer         not null,
43 <   modified_at                  float           not null,
44 <   modified_by                  integer         not null);
43 >   modified_at                  float,
44 >   modified_by                  integer);
45  
46   -- ======================================================================
47   alter table t_collection_type
# Line 116 | Line 117 | alter table t_app_config
117  
118   alter table t_app_config
119    add constraint uq_app_config
120 <  unique (application, conditions_version);
120 >  unique (application, parameter_set, conditions_version);
121  
122   alter table t_app_config
123    add constraint fk_app_config_app

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines