Skip to content

Commit aa1d6fe

Browse files
ashishkumar468Ashish Kumar
and
Ashish Kumar
authored
Fixes #3882 (#3883)
* Make hasInvalidLocation non-null integer with default value 0 Co-authored-by: Ashish Kumar <ashish@Ashishs-MacBook-Air.local>
1 parent e7d9315 commit aa1d6fe

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

+1-1
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)