Schema_109: Fix SQL syntax error

Reported by David Ostrovsky

Change-Id: I0ef4b9150145725bcde98f066a08de5efc8b7356
This commit is contained in:
Orgad Shaneh 2017-10-31 16:02:17 +02:00
parent 830c2ae29e
commit f25da13683
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class Schema_109 extends SchemaVersion {
@Override
protected void migrateData(ReviewDb db, UpdateUI ui) throws OrmException {
try (StatementExecutor e = newExecutor(db)) {
e.execute("UPDATE changes SET status = 'n' created_on = created_on WHERE status = 's'");
e.execute("UPDATE changes SET status = 'n', created_on = created_on WHERE status = 's'");
}
}
}