tacitknowledge / autopatch

An automated database patching framework for Java.
41 stars 19 forks source link

Incorrect table in SQL for Oracle #29

Closed scottfromsf closed 12 years ago

scottfromsf commented 12 years ago

Becky McElroy reported that the SQL for "level.table.exists" in src/main/resources/com/tacitknowledge/util/migration/jdbc/oracle.properties incorrectly references the "patches" table and should reference "tk_patches" instead.

This looks like it's a copy/paste issue as all of the other databases use a "patches" table instead of "tk_patches". To preserve compatibility with existing installs I'm going to update the label.table.exists statement to use tk_patches rather than bring Oracle inline with the naming convention that the other databases use.

scottfromsf commented 12 years ago

Submitted fix.