Build [v1.9.19]
This commit is contained in:
@@ -15,6 +15,10 @@ export interface Item {
|
||||
labels_data?: string;
|
||||
serial_number?: string;
|
||||
type?: string;
|
||||
description?: string;
|
||||
connector?: string;
|
||||
size?: string;
|
||||
ocr_text?: string;
|
||||
}
|
||||
|
||||
export interface PendingOperation {
|
||||
@@ -34,8 +38,8 @@ export class InventoryDatabase extends Dexie {
|
||||
|
||||
constructor() {
|
||||
super('InventoryDatabase');
|
||||
this.version(4).stores({
|
||||
items: '++id, barcode, name, category, part_number, color, box_label',
|
||||
this.version(5).stores({
|
||||
items: '++id, barcode, name, category, part_number, color, box_label, ocr_text',
|
||||
pendingOperations: '++id, barcode, timestamp, synced, uuid'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user