mirror of
https://github.com/nextcloud/android.git
synced 2024-11-21 20:55:31 +03:00
Change database USER_ID type to String
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
This commit is contained in:
parent
e69e3d5193
commit
4194c3bccb
4 changed files with 1207 additions and 3 deletions
1203
app/schemas/com.nextcloud.client.database.NextcloudDatabase/80.json
Normal file
1203
app/schemas/com.nextcloud.client.database.NextcloudDatabase/80.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -72,7 +72,8 @@ import com.owncloud.android.db.ProviderMeta
|
|||
AutoMigration(from = 75, to = 76),
|
||||
AutoMigration(from = 76, to = 77),
|
||||
AutoMigration(from = 77, to = 78),
|
||||
AutoMigration(from = 78, to = 79, spec = DatabaseMigrationUtil.ResetCapabilitiesPostMigration::class)
|
||||
AutoMigration(from = 78, to = 79, spec = DatabaseMigrationUtil.ResetCapabilitiesPostMigration::class),
|
||||
AutoMigration(from = 79, to = 80, spec = DatabaseMigrationUtil.ResetCapabilitiesPostMigration::class)
|
||||
],
|
||||
exportSchema = true
|
||||
)
|
||||
|
|
|
@ -55,7 +55,7 @@ data class ShareEntity(
|
|||
@ColumnInfo(name = ProviderTableMeta.OCSHARES_IS_DIRECTORY)
|
||||
val isDirectory: Int?,
|
||||
@ColumnInfo(name = ProviderTableMeta.OCSHARES_USER_ID)
|
||||
val userId: Int?,
|
||||
val userId: String?,
|
||||
@ColumnInfo(name = ProviderTableMeta.OCSHARES_ID_REMOTE_SHARED)
|
||||
val idRemoteShared: Int?,
|
||||
@ColumnInfo(name = ProviderTableMeta.OCSHARES_ACCOUNT_OWNER)
|
||||
|
|
|
@ -35,7 +35,7 @@ import java.util.List;
|
|||
*/
|
||||
public class ProviderMeta {
|
||||
public static final String DB_NAME = "filelist";
|
||||
public static final int DB_VERSION = 79;
|
||||
public static final int DB_VERSION = 80;
|
||||
|
||||
private ProviderMeta() {
|
||||
// No instance
|
||||
|
|
Loading…
Reference in a new issue