Permalink
Browse files

Revert "* need to detect patch table and systemname patch"

This reverts commit ade6ab6.
  • Loading branch information...
1 parent 25cf027 commit 8895c2f152770bd2d9a63ff05e67c355254fd177 Scott Askew committed Sep 27, 2012
Showing with 3 additions and 7 deletions.
  1. +3 −7 src/main/java/com/tacitknowledge/util/migration/jdbc/PatchTable.java
View
10 src/main/java/com/tacitknowledge/util/migration/jdbc/PatchTable.java
@@ -1,11 +1,11 @@
/* Copyright 2004 Tacit Knowledge
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -101,10 +101,6 @@ public void createPatchStoreIfNeeded() throws MigrationException
stmt = conn.prepareStatement(getSql("level.table.exists"));
stmt.setString(1, context.getSystemName());
rs = stmt.executeQuery();
- if (!rs.next()) {
- // We don't yet have a patch record for this system; create one
- createSystemPatchRecord();
- }
log.debug("'patches' table already exists.");
tableExistenceValidated = true;
}

0 comments on commit 8895c2f

Please sign in to comment.