By default DBIx::Class::DeploymentHandler only uses integers for versions,
this makes versioning much simpler for figuring out what version is next
-(or previous.)
+(or previous.) However, if you are using decimal numbers for versioning,
+you will need to create a separate DeploymentHandler class, as per
+L<DBIx::Class::DeploymentHandler::Cookbook::CustomResultSource>, and
+set the VersionHandler class_name from Monotonic to ExplicitVersions or
+DatabaseToSchemaVersions, as these handle version numbers as strings instead
+of integers.
=head1 install.pl
`-- 1
`-- 001-auto.yml
+You may wish to turn on L<debug logging|DBIx::Class::DeploymentHandler/"LOGGING">
+before running this script by setting the environment variable C<DBICDH_TRACE> to
+C<1>.
+
=head3 001-auto.sql
DBIx::Class::DeploymentHandler automatically generates SQL from our schema
my $dh = DH->new({
schema => $schema,
- script_directory => "$FindBin::Bin/dbicdh",
+ script_directory => "$FindBin::Bin/../dbicdh",
databases => 'SQLite',
sql_translator_args => { add_drop_table => 0 },
});