Oops, deploy only drops tables if you tell it to..
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Schema.pm
index 84e5263..a50b26b 100644 (file)
@@ -543,9 +543,9 @@ Attempts to deploy the schema to the current storage
 =cut
 
 sub deploy {
-  my ($self) = shift;
+  my ($self, $sqltargs) = @_;
   $self->throw_exception("Can't deploy without storage") unless $self->storage;
-  $self->storage->deploy($self);
+  $self->storage->deploy($self, undef, $sqltargs);
 }
 
 1;