in reply to dbicdump and relationships
Can you provide more details, so we could reproduce the problem? It works for me with sqlite:
$ cat test.sql create table boo (id integer primary key, name text); create table foo (id integer primary key, boo_id integer, foreign key +(boo_id) references boo(id)); $ sqlite3 test.db <test.sql $ dbicdump Foo dbi:SQLite:test.db Dumping manual schema for Foo to directory . ... Schema dump completed. $ grep -RE "belongs_to|has_many" . ./Foo/Result/Boo.pm:Type: has_many ./Foo/Result/Boo.pm:__PACKAGE__->has_many( ./Foo/Result/Foo.pm:Type: belongs_to ./Foo/Result/Foo.pm:__PACKAGE__->belongs_to(
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: dbicdump and relationships
by blue_cowdawg (Monsignor) on Jan 14, 2013 at 14:23 UTC | |
by Anonymous Monk on Jan 14, 2013 at 14:33 UTC | |
by Anonymous Monk on Jan 14, 2013 at 14:36 UTC | |
by blue_cowdawg (Monsignor) on Jan 14, 2013 at 14:51 UTC | |
by Anonymous Monk on Jan 14, 2013 at 14:54 UTC | |
by zwon (Abbot) on Jan 14, 2013 at 15:01 UTC | |
by blue_cowdawg (Monsignor) on Jan 14, 2013 at 15:13 UTC | |
by Anonymous Monk on Jan 14, 2013 at 15:18 UTC | |
by blue_cowdawg (Monsignor) on Jan 14, 2013 at 15:46 UTC |
In Section
Seekers of Perl Wisdom