/[SQLSession]/trunk/lib/SQLSession/Model/Query.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/SQLSession/Model/Query.pm

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

revision 15 by dpavlin, Sun Dec 3 14:01:53 2006 UTC revision 31 by dpavlin, Thu Dec 7 23:22:41 2006 UTC
# Line 22  use SQLSession::Record schema { Line 22  use SQLSession::Record schema {
22                  render as 'textarea';                  render as 'textarea';
23                    
24          column on_database =>          column on_database =>
25                  refers_to SQLSession::Model::Database by 'name';                  refers_to SQLSession::Model::Database by 'id',
26                    label is 'on database',
27                    mandatory;
28            
29            column note =>
30                    type is 'text',
31                    label is 'Note',
32                    render as 'textarea',
33                    since 0.0.2;
34            
35            column visible =>
36                    type is 'boolean',
37                    default is 1,
38                    since 0.0.3;
39  };  };
40    
41  # Your model-specific methods go here.  # Your model-specific methods go here.
42    
43    sub current_user_can {
44            return 1;
45    }
46    
47  1;  1;
48    

Legend:
Removed from v.15  
changed lines
  Added in v.31

  ViewVC Help
Powered by ViewVC 1.1.26