projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
disallow undef in versions
[dbsrgits/DBIx-Class-DeploymentHandler.git]
/
lib
/
DBIx
/
Class
/
DeploymentHandler
/
Dad.pm
diff --git
a/lib/DBIx/Class/DeploymentHandler/Dad.pm
b/lib/DBIx/Class/DeploymentHandler/Dad.pm
index
92bbb93
..
d816acd
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/Dad.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/Dad.pm
@@
-21,6
+21,7
@@
has backup_directory => (
has to_version => (
is => 'ro',
+ isa => 'Str',
lazy_build => 1,
);
@@
-28,6
+29,7
@@
sub _build_to_version { $_[0]->schema_version }
has schema_version => (
is => 'ro',
+ isa => 'Str',
lazy_build => 1,
);