Skip to content

Put Perl run files in _common consistently #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions lib/DBIx/Class/Migration/Tutorial/ThirdMigration.pod
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,11 @@ Don't forget to delete the C<001-auto.sql> file:
In order to complete our new requirements, lets create some Perl run files to
add some new country codes, and one new Artist:

touch share/migrations/SQLite/upgrade/2-3/005-new_countries.pl
touch share/migrations/SQLite/upgrade/2-3/006-new_artist.pl
mkdir share/migrations/_common/upgrade/2-3
touch share/migrations/_common/upgrade/2-3/005-new_countries.pl
touch share/migrations/_common/upgrade/2-3/006-new_artist.pl

Open C<share/migrations/SQLite/upgrade/2-3/005-new_countries.pl> in your editor
Open C<share/migrations/_common/upgrade/2-3/005-new_countries.pl> in your editor
and add the following:

use strict;
Expand All @@ -628,7 +629,7 @@ and add the following:
]);
}

Finally open C<share/migrations/SQLite/upgrade/2-3/006-new_artist.pl> in
Finally open C<share/migrations/_common/upgrade/2-3/006-new_artist.pl> in
your editor and add the following:

use strict;
Expand Down