/[Frey]/trunk/lib/Strix/Schema.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

Contents of /trunk/lib/Strix/Schema.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Sat Jun 28 11:49:35 2008 UTC (15 years, 10 months ago) by dpavlin
File size: 332 byte(s)
initial code dump of my web-framework-tingy:

Continuity + Fey::ORM + Template::Declare
1 package Strix::Schema;
2
3 use Fey::DBIManager;
4 use Fey::DBIManager::Source;
5 use Fey::Loader;
6 use Fey::ORM::Schema;
7
8 my $source = Fey::DBIManager::Source->new( dsn => 'dbi:Pg:dbname=intwww' );
9
10 my $schema = Fey::Loader->new( dbh => $source->dbh() )->make_schema();
11
12 has_schema $schema;
13
14 __PACKAGE__->DBIManager()->add_source($source);

  ViewVC Help
Powered by ViewVC 1.1.26