[mob] Remove unused column from facesTable
This commit is contained in:
parent
7e9c6a7f81
commit
baec7a2af8
3 changed files with 0 additions and 12 deletions
|
@ -268,10 +268,6 @@ class FaceMLDataDB {
|
|||
faceEmbeddingBlob,
|
||||
faceScore,
|
||||
faceBlur,
|
||||
faceClusterId,
|
||||
faceClosestDistColumn,
|
||||
faceClosestFaceID,
|
||||
faceConfirmedColumn,
|
||||
mlVersionColumn,
|
||||
],
|
||||
where: '$fileIDColumn = ?',
|
||||
|
@ -370,7 +366,6 @@ class FaceMLDataDB {
|
|||
where: '$faceScore > $minScore and $faceBlur > $minClarity',
|
||||
limit: batchSize,
|
||||
offset: offset,
|
||||
// orderBy: '$faceClusterId DESC',
|
||||
orderBy: '$faceIDColumn DESC',
|
||||
);
|
||||
// Break the loop if no more rows
|
||||
|
|
|
@ -9,9 +9,6 @@ const faceEmbeddingBlob = 'eBlob';
|
|||
const faceScore = 'score';
|
||||
const faceBlur = 'blur';
|
||||
const faceClusterId = 'cluster_id';
|
||||
const faceConfirmedColumn = 'confirmed';
|
||||
const faceClosestDistColumn = 'close_dist';
|
||||
const faceClosestFaceID = 'close_face_id';
|
||||
const mlVersionColumn = 'ml_version';
|
||||
|
||||
const createFacesTable = '''CREATE TABLE IF NOT EXISTS $facesTable (
|
||||
|
@ -22,9 +19,6 @@ const createFacesTable = '''CREATE TABLE IF NOT EXISTS $facesTable (
|
|||
$faceScore REAL NOT NULL,
|
||||
$faceBlur REAL NOT NULL DEFAULT $kLapacianDefault,
|
||||
$faceClusterId INTEGER,
|
||||
$faceClosestDistColumn REAL,
|
||||
$faceClosestFaceID TEXT,
|
||||
$faceConfirmedColumn INTEGER NOT NULL DEFAULT 0,
|
||||
$mlVersionColumn INTEGER NOT NULL DEFAULT -1,
|
||||
PRIMARY KEY($fileIDColumn, $faceIDColumn)
|
||||
);
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import 'dart:developer' as dev;
|
||||
import "dart:math" show Random;
|
||||
import "dart:typed_data";
|
||||
|
||||
import "package:flutter/foundation.dart";
|
||||
import "package:logging/logging.dart";
|
||||
|
|
Loading…
Add table
Reference in a new issue