Last active
August 29, 2015 13:58
-
-
Save tommybutler/10309408 to your computer and use it in GitHub Desktop.
regenerate a DBIx::Class schema dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# skeleton code; you will need to customize to suit | |
# you need to set up your database and install DBIx::Class::Schema::Loader | |
# along with any DBIC components you use below | |
cd /var/projects/My/App | |
dbicdump -o components='["TimeStamp","PassphraseColumn"]' -o dump_directory=./lib My::App::Schema dbi:mysql:dfwpm dfwpm dfwpm '{ AutoCommit => 1 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment