X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FCookbook%2FCustomResultSource.pod;h=2f1b79d66699c349b413c23e084c3ace96bbd82d;hb=3d416c8f66d964a153fccd0c3fc45d03b148879f;hp=fed4a9f80eb0b13642fe7c4b8f1bb2d9c5db31c6;hpb=e80ef6bcfb241e2ab6969e6e8f36259e0bd485c8;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod b/lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod index fed4a9f..2f1b79d 100644 --- a/lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod +++ b/lib/DBIx/Class/DeploymentHandler/Cookbook/CustomResultSource.pod @@ -1,3 +1,5 @@ +package DBIx::Class::DeploymentHandler::Cookbook::CustomResultSource; + =pod One of the reasons for the absurd level of flexibility that @@ -51,7 +53,7 @@ table being set on the original result. class_name => 'DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator', delegate_name => 'deploy_method', attributes_to_assume => ['schema'], - attributes_to_copy => [qw( databases upgrade_directory sql_translator_args )], + attributes_to_copy => [qw( databases script_directory sql_translator_args )], }, 'DBIx::Class::DeploymentHandler::WithApplicatorDumple' => { interface_role => 'DBIx::Class::DeploymentHandler::HandlesVersioning', @@ -92,3 +94,9 @@ table being set on the original result. __PACKAGE__->meta->make_immutable; 1; +Note: if you are using decimal numbers for versioning, you should ammend +this DeploymentHandler package, setting it's VersionHandler class_name from +Monotonic ( which handles integer only version numbers ) to ExplicitVersions +or DatabaseToSchemaVersions, as these handle version numbers as strings +instead of integers. +