feat:新增ai分析,新增储值账户,优化通知规则
This commit is contained in:
@@ -13,6 +13,13 @@ const TRANSACTION_TABLE_SQL = `
|
||||
date TEXT NOT NULL,
|
||||
note TEXT,
|
||||
sync_status INTEGER DEFAULT 0,
|
||||
entry_type TEXT DEFAULT 'expense',
|
||||
fund_source_type TEXT DEFAULT 'cash',
|
||||
fund_source_name TEXT,
|
||||
fund_target_type TEXT DEFAULT 'merchant',
|
||||
fund_target_name TEXT,
|
||||
impact_expense INTEGER DEFAULT 1,
|
||||
impact_income INTEGER DEFAULT 0,
|
||||
ai_category TEXT,
|
||||
ai_tags TEXT,
|
||||
ai_confidence REAL,
|
||||
@@ -33,6 +40,13 @@ const MERCHANT_PROFILE_TABLE_SQL = `
|
||||
);
|
||||
`
|
||||
const TRANSACTION_REQUIRED_COLUMNS = {
|
||||
entry_type: "TEXT DEFAULT 'expense'",
|
||||
fund_source_type: "TEXT DEFAULT 'cash'",
|
||||
fund_source_name: 'TEXT',
|
||||
fund_target_type: "TEXT DEFAULT 'merchant'",
|
||||
fund_target_name: 'TEXT',
|
||||
impact_expense: 'INTEGER DEFAULT 1',
|
||||
impact_income: 'INTEGER DEFAULT 0',
|
||||
ai_category: 'TEXT',
|
||||
ai_tags: 'TEXT',
|
||||
ai_confidence: 'REAL',
|
||||
|
||||
Reference in New Issue
Block a user