Browse Source
Merge pull request #34 from ixplo/patch-1
Update DatabaseManager.java
master
Ruben Bermudez
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/main/java/org/telegram/database/DatabaseManager.java
|
|
@ -107,7 +107,7 @@ public class DatabaseManager { |
|
|
private int updateToVersion3() throws SQLException { |
|
|
private int updateToVersion3() throws SQLException { |
|
|
connetion.executeQuery(CreationStrings.createDirectionsDatabase); |
|
|
connetion.executeQuery(CreationStrings.createDirectionsDatabase); |
|
|
connetion.executeQuery(String.format(CreationStrings.insertCurrentVersion, 3)); |
|
|
connetion.executeQuery(String.format(CreationStrings.insertCurrentVersion, 3)); |
|
|
return 2; |
|
|
return 3; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private int updateToVersion4() throws SQLException { |
|
|
private int updateToVersion4() throws SQLException { |
|
|
|