Parent Directory | Revision Log | Patch
revision 105 by dpavlin, Sun Jan 21 12:41:35 2007 UTC | revision 106 by dpavlin, Thu Mar 15 12:43:55 2007 UTC | |
---|---|---|
# | Line 10 use SQLSession::Record schema { | Line 10 use SQLSession::Record schema { |
10 | ||
11 | column user_id => | column user_id => |
12 | refers_to SQLSession::Model::User by 'id', | refers_to SQLSession::Model::User by 'id', |
13 | is mandatory, | is not_null, |
14 | is indexed; | is indexed; |
15 | ||
16 | column role => | column role => |
17 | type is 'text', | type is 'text', |
18 | valid are qw/student edit admin/, | valid are qw/student edit admin/, |
19 | default is 'student', | default is 'student', |
20 | is mandatory, | is not_null, |
21 | is indexed; | is indexed; |
22 | ||
23 | }; | }; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |