Skip to content

Commit 9e84df0

Browse files
Ashish KumarAshish Kumar
Ashish Kumar
authored and
Ashish Kumar
committed
* Make hasInvalidLocation non-null integer with default value 0
1 parent e7d9315 commit 9e84df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/di/CommonsApplicationModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class CommonsApplicationModule {
5858
@Override
5959
public void migrate(SupportSQLiteDatabase database) {
6060
database.execSQL("ALTER TABLE contribution "
61-
+ " ADD COLUMN hasInvalidLocation INTEGER");
61+
+ " ADD COLUMN hasInvalidLocation INTEGER NOT NULL DEFAULT 0");
6262
}
6363
};
6464

0 commit comments

Comments
 (0)