/[SQLSession]/trunk/lib/SQLSession/Bootstrap.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/Bootstrap.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 16 by dpavlin, Sun Dec 3 14:25:40 2006 UTC
# Line 28  sub run { Line 28  sub run {
28                  on_database => $db,                  on_database => $db,
29          );          );
30    
31            $db->create(
32                    name => 'Pagila sample database',
33                    dsn => 'DBI:Pg:dbname=pagila',
34            );
35    
36          $q->create(          $q->create(
37                  name => 'All films',                  name => 'All films',
38                  sql_query => 'select * from film',                  sql_query => 'select * from film',
39                  on_database => $db->create(                  on_database => $db,
                         name => 'Pagila sample database',  
                         dsn => 'DBI:Pg:dbname=pagila',  
                 ),  
40          );          );
41    
42  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.26