/[dgee]/dgee/dbstore/dbtables.cfg
ViewVC logotype

Diff of /dgee/dbstore/dbtables.cfg

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by csmith, Thu May 29 17:03:29 2003 UTC revision 1.2 by csmith, Sun Sep 21 10:48:16 2003 UTC
# Line 0  Line 1 
1    # DB Table Definition Configuration
2    #
3    # DotGNU Execution Environment Core
4    # (c)2003 netFluid Technology Ltd - http://www.nfluid.com
5    #
6    # Database Object (.h) Generator
7    #
8    # This program is free software; you can redistribute it and/or modify
9    # it under the terms of the GNU General Public License as published by
10    # the Free Software Foundation; either version 2 of the License, or
11    # (at your option) any later version.
12    #
13    # This program is distributed in the hope that it will be useful,
14    # but WITHOUT ANY WARRANTY; without even the implied warranty of
15    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    # GNU General Public License for more details.
17    #
18    # You should have received a copy of the GNU General Public License
19    # along with this program; if not, write to the Free Software
20    # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
21    #
22    # $Revision$  $Date$
23    #
24    # --------------------------------------------------------------------------
25    # Format of entries:
26    # :tablename
27    # Column                Type                            Len                             Key
28    # a-zA-Z        char/int/long           Char only               key/unique
29    #
30    # Comments begin with a hash '#'
31    # Value for key
32    # --------------------------------------------------------------------------
33    
34    # role table
35    #
36    :role
37    roleID                  long    -               unique
38    roleDesc                char    32
39    status                  long    -
40    
41    # User table
42    #
43    :user
44    userName                char    64              unique
45    realName                char    128
46    email                   char    80
47    website                 char    80
48    publicKey               char    512
49    sessionID               char    40
50    
51    # Project Table
52    #
53    :project
54    projectName             char    32              unique
55    shortDesc               char    256
56    publicInd               char    1                       # Indicates whether the project is public
57    descID                  char    36                      # Text chunk ID of full description
58    adminGroupID    char    36                      # FK of user group of Admin Users
59    userGroupID             char    36                      # FK of user group of Users
60    
61    # Text Chunk Handling
62    #
63    :text  
64    textID                  char    36      unique
65    textSeq                 long    -                       # 1..n
66    chunkLen                long    -                       # As soon as < chunksize bytes have been
67    chunk                   char    1024            # used we know were at the end of the chain
68    
69    # Webservice Group Table
70    #
71    :wsGroup
72    wsGroupID       char    36      unique
73    wsGroupName             char    32
74    creator                 char    64                      # User name of creator
75    createDteTme    long    -
76    comment                 char    128
77    
78    # User Group Table (user or admin - defined by key element)
79    #
80    :userGroup
81    userGroupID             char    36      unique
82    adminGroupInd   char    1       key             # Indicates group is an admin group
83    userGroupName   char    32
84    creator                 char    64                      # Username of creator
85    createDteTme    long    -
86    comment                 char    128
87    
88    # Webservice detail table
89    #
90    :webService
91    serviceName             char    128     unique
92    bytecodeName    char    128
93    owner                   char    64
94    group                   char    32
95    installDteTme   long    -
96    statusCV                long    -
97    
98    # -- Mapping tables --
99    #
100    
101    # Project to wsGroup
102    # A single project has many webservice groups within it
103    :projWSgrpMap
104    projectName             char    32      key
105    wsGroupID       char    36
106    
107    # Group to websevice
108    # A single group may map to multiple webservices, so no unique key
109    :wsgroupWSMap
110    wsGroupName             char    32      key
111    serviceName             char    128
112    
113    # User to websevice
114    # A single user may map to multiple webservices, so no unique key
115    :userWSMap
116    userName                char    64      key
117    serviceName             char    128
118    
119    # UserGroup to user
120    # - A group contains many users , so no unique key
121    :usergroupUserMap
122    userGroupID             char    36      key
123    userName                char    64              
124    
125    
126    # -- Helper "reverse map" tables --
127    
128    # user to UserGroup
129    # - A user may be a member of many groups, so no unique key
130    :userUsergroupMap
131    userName                char    64      key
132    userGroupID             char    36
133    
134    
135    # Session Database
136    # - Keys are unique
137    :sessions
138    sessionID               char    40      unique
139    sessionSeq              long    -                       # 1..n
140    modDteTme       long    -                       # Modification date time
141    userName                char    64                      # User name of session owner
142    chunkLen                long    -                       # As soon as < chunksize bytes have been
143    chunk                   char    1024            # used we know were at the end of the chain
144    
145    # end

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26