/[SQLSession]/trunk/lib/SQLSession/Model/Database.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/Database.pm

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

revision 29 by dpavlin, Thu Dec 7 22:13:56 2006 UTC revision 106 by dpavlin, Thu Mar 15 12:43:55 2007 UTC
# Line 8  use SQLSession::Record schema { Line 8  use SQLSession::Record schema {
8          column name =>          column name =>
9                  type is 'text',                  type is 'text',
10                  label is 'Name of database',                  label is 'Name of database',
11                  mandatory,                  is not_null,
12                  distinct;                  is distinct;
13    
14          column dsn =>          column dsn =>
15                  type is 'text',                  type is 'text',
16                  label is 'DBI connection string',                  label is 'DBI connection string',
17                  hints is 'for PostgreSQL you might try something like: DBI:Pg:dbname=test',                  hints is 'for PostgreSQL you might try something like: DBI:Pg:dbname=test',
18                  mandatory;                  is not_null;
19    
20          column login =>          column login =>
21                  type is 'text',                  type is 'text',
# Line 26  use SQLSession::Record schema { Line 26  use SQLSession::Record schema {
26                  label is 'database password';                  label is 'database password';
27  };  };
28    
29    sub since { '0.0.1' }
30    
31  # Your model-specific methods go here.  # Your model-specific methods go here.
32    
33  sub current_user_can {  sub current_user_can {

Legend:
Removed from v.29  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.26