pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks.
I'm working with a DBIx::Class::Schema object and I've just discovered the 'deploy' method, which will create all my tables for me if they don't exist. What I haven't yet found is a good way to determine if the tables are already there.
So, my question is, if you are using the deploy method of a DBIx::Class::Schema object, how do you tell if the database is already deployed?
I'm going to use this for testing, where I create a sqlite db on the fly during testing and I'm going to probably use this to make installing my app on various servers easier.
Thanks!
--Pileofrogs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBIC & deploy
by castaway (Parson) on Mar 31, 2009 at 06:45 UTC | |
|
Re: DBIC & deploy
by afoken (Chancellor) on Mar 30, 2009 at 23:38 UTC |