Remove outdated field from File
This commit is contained in:
parent
d4e1754ca4
commit
6cfb3df4d8
2 changed files with 0 additions and 7 deletions
|
@ -26,7 +26,6 @@ class FilesDB {
|
|||
static final columnLatitude = 'latitude';
|
||||
static final columnLongitude = 'longitude';
|
||||
static final columnFileType = 'file_type';
|
||||
static final columnRemoteFolderID = 'remote_folder_id';
|
||||
static final columnIsEncrypted = 'is_encrypted';
|
||||
static final columnIsDeleted = 'is_deleted';
|
||||
static final columnCreationTime = 'creation_time';
|
||||
|
@ -73,7 +72,6 @@ class FilesDB {
|
|||
$columnLatitude REAL,
|
||||
$columnLongitude REAL,
|
||||
$columnFileType INTEGER,
|
||||
$columnRemoteFolderID INTEGER,
|
||||
$columnIsEncrypted INTEGER DEFAULT 1,
|
||||
$columnModificationTime TEXT NOT NULL,
|
||||
$columnEncryptedKey TEXT,
|
||||
|
@ -237,7 +235,6 @@ class FilesDB {
|
|||
$columnLatitude,
|
||||
$columnLongitude,
|
||||
$columnFileType,
|
||||
$columnRemoteFolderID,
|
||||
$columnIsEncrypted,
|
||||
$columnModificationTime,
|
||||
$columnEncryptedKey,
|
||||
|
@ -276,7 +273,6 @@ class FilesDB {
|
|||
$columnLatitude,
|
||||
$columnLongitude,
|
||||
$columnFileType,
|
||||
$columnRemoteFolderID,
|
||||
$columnIsEncrypted,
|
||||
$columnModificationTime,
|
||||
$columnEncryptedKey,
|
||||
|
@ -477,7 +473,6 @@ class FilesDB {
|
|||
row[columnFileType] = -1;
|
||||
}
|
||||
row[columnIsEncrypted] = file.isEncrypted ? 1 : 0;
|
||||
row[columnRemoteFolderID] = file.remoteFolderID;
|
||||
row[columnCreationTime] = file.creationTime;
|
||||
row[columnModificationTime] = file.modificationTime;
|
||||
row[columnUpdationTime] = file.updationTime;
|
||||
|
@ -502,7 +497,6 @@ class FilesDB {
|
|||
file.location = Location(row[columnLatitude], row[columnLongitude]);
|
||||
}
|
||||
file.fileType = getFileType(row[columnFileType]);
|
||||
file.remoteFolderID = row[columnRemoteFolderID];
|
||||
file.isEncrypted = row[columnIsEncrypted] == 1;
|
||||
file.creationTime = int.parse(row[columnCreationTime]);
|
||||
file.modificationTime = int.parse(row[columnModificationTime]);
|
||||
|
|
|
@ -12,7 +12,6 @@ class File {
|
|||
String localID;
|
||||
String title;
|
||||
String deviceFolder;
|
||||
int remoteFolderID;
|
||||
bool isEncrypted;
|
||||
int creationTime;
|
||||
int modificationTime;
|
||||
|
|
Loading…
Add table
Reference in a new issue