Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: dbicdump and relationships

by Anonymous Monk
on Jan 14, 2013 at 14:33 UTC ( #1013223=note: print w/ replies, xml ) Need Help??

in reply to Re^2: dbicdump and relationships
in thread dbicdump and relationships

Try sqlt -f MySQL -t DBIx::Class::File < schema.sql >

Comment on Re^3: dbicdump and relationships
Replies are listed 'Best First'.
Re^4: dbicdump and relationships
by Anonymous Monk on Jan 14, 2013 at 14:36 UTC
    $ grep -E "belongs_to|has_many" 2 __PACKAGE__->belongs_to('density', 'RPG::Traveller::DB::Schema::densit +y'); __PACKAGE__->belongs_to('sector', 'RPG::Traveller::DB::Schema::sector' +); __PACKAGE__->has_many('get_subsector', 'RPG::Traveller::DB::Schema::su +bsector', 'sector'); __PACKAGE__->has_many('get_subsector', 'RPG::Traveller::DB::Schema::su +bsector', 'density');
Re^4: dbicdump and relationships
by blue_cowdawg (Monsignor) on Jan 14, 2013 at 14:51 UTC

    That works nicely. I'd still like to see dbicdump work properly though, but it is nice to have a backup plan. :-)

    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013223]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2016-02-08 17:14 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (278 votes), past polls