X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FManual%2FIntro.pod;fp=lib%2FDBIx%2FClass%2FDeploymentHandler%2FManual%2FIntro.pod;h=d366ea8e3e0eb536557a6ae6f92190052e4b47d6;hp=3e245183b5cae9dc16618af35fb76f321c930fa2;hb=1e171480f0cad3034557f3b606c31962fe9b85b1;hpb=4c716580603b0684a444101b1d0de0c18ea2a21f diff --git a/lib/DBIx/Class/DeploymentHandler/Manual/Intro.pod b/lib/DBIx/Class/DeploymentHandler/Manual/Intro.pod index 3e24518..d366ea8 100644 --- a/lib/DBIx/Class/DeploymentHandler/Manual/Intro.pod +++ b/lib/DBIx/Class/DeploymentHandler/Manual/Intro.pod @@ -92,15 +92,15 @@ To truly take advantage of all DBIx::Class::DeploymentHandler offers, you should probably be using it for population. To do that all you need to do is create a file called C: - sub { - my $schema = shift; - $schema->resultset('Artist')->populate([ - ['name'], - ['Marillion'], - ['The Moutain Goats'], - ['Ladyhawke'], - ]); - }; + sub { + my $schema = shift; + $schema->resultset('Artist')->populate([ + ['artistid', 'name'], + [1, 'Marillion'], + [2, 'The Moutain Goats'], + [3, 'Ladyhawke'], + ]); + }; =head1 Upgrading