projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
199410d
)
get rid of that silly create_ddl_dir method
Arthur Axel 'fREW' Schmidt [Sat, 27 Feb 2010 10:16:14 +0000 (
04:16
-0600)]
lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm
patch
|
blob
|
blame
|
history
lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm
b/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm
index
8c8bab7
..
15bade5
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm
@@
-317,11
+317,6
@@
method prepare_update($version, $preversion) {
}
}
-method create_ddl_dir($version, $preversion) {
- $self->prepare_install;
- $self->prepare_update($version, $preversion) if $preversion;
-}
-
method _read_sql_file($file) {
return unless $file;
diff --git
a/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm
b/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm
index
7141b65
..
4555d1e
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm
@@
-21,7
+21,6
@@
has deploy_method => (
deploy
prepare_install
prepare_update
- create_ddl_dir
upgrade_single_step
}],
);