Permalink
Browse files

sqlmeta shouldn't be generated if the new table doesn't need it

  • Loading branch information...
iarna committed Mar 21, 2012
1 parent c7af145 commit d5b086a018b38148098b262952be099234c9baeb
Showing with 1 addition and 1 deletion.
  1. +1 −1 Modyllic/Diff.php
View
@@ -46,7 +46,7 @@ private function calculate_changeset() {
}
// If our metadata table doesn't yet exist, create it
- if ( ! $this->from->sqlmeta_exists ) {
+ if ( ! $this->from->sqlmeta_exists and $this->sqlmeta_exists ) {
$this->changeset->create_sqlmeta = TRUE;
}

0 comments on commit d5b086a

Please sign in to comment.