/[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 1 by dpavlin, Fri Dec 1 23:48:06 2006 UTC revision 29 by dpavlin, Thu Dec 7 22:13:56 2006 UTC
# Line 11  use SQLSession::Record schema { Line 11  use SQLSession::Record schema {
11                  mandatory,                  mandatory,
12                  distinct;                  distinct;
13    
14          column dbi =>          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',
# Line 28  use SQLSession::Record schema { Line 28  use SQLSession::Record schema {
28    
29  # Your model-specific methods go here.  # Your model-specific methods go here.
30    
31    sub current_user_can {
32            return 1;
33    }
34    
35  1;  1;
36    

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

  ViewVC Help
Powered by ViewVC 1.1.26