5 "identityHash": "ac17a190c6cd158bcb3eae9471522c6a",
8 "tableName": "patterns",
9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `position` INTEGER NOT NULL, `regular_expression` TEXT NOT NULL, `transaction_description` TEXT, `transaction_description_match_group` INTEGER, `transaction_comment` TEXT, `transaction_comment_match_group` INTEGER, `date_year` INTEGER, `date_year_match_group` INTEGER, `date_month` INTEGER, `date_month_match_group` INTEGER, `date_day` INTEGER, `date_day_match_group` INTEGER)",
14 "affinity": "INTEGER",
24 "fieldPath": "position",
25 "columnName": "position",
26 "affinity": "INTEGER",
30 "fieldPath": "regularExpression",
31 "columnName": "regular_expression",
36 "fieldPath": "transactionDescription",
37 "columnName": "transaction_description",
42 "fieldPath": "transactionDescriptionMatchGroup",
43 "columnName": "transaction_description_match_group",
44 "affinity": "INTEGER",
48 "fieldPath": "transactionComment",
49 "columnName": "transaction_comment",
54 "fieldPath": "transactionCommentMatchGroup",
55 "columnName": "transaction_comment_match_group",
56 "affinity": "INTEGER",
60 "fieldPath": "dateYear",
61 "columnName": "date_year",
62 "affinity": "INTEGER",
66 "fieldPath": "dateYearMatchGroup",
67 "columnName": "date_year_match_group",
68 "affinity": "INTEGER",
72 "fieldPath": "dateMonth",
73 "columnName": "date_month",
74 "affinity": "INTEGER",
78 "fieldPath": "dateMonthMatchGroup",
79 "columnName": "date_month_match_group",
80 "affinity": "INTEGER",
84 "fieldPath": "dateDay",
85 "columnName": "date_day",
86 "affinity": "INTEGER",
90 "fieldPath": "dateDayMatchGroup",
91 "columnName": "date_day_match_group",
92 "affinity": "INTEGER",
104 "name": "un_patterns_id",
109 "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `un_patterns_id` ON `${TABLE_NAME}` (`id`)"
115 "tableName": "pattern_accounts",
116 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pattern_id` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `acc` TEXT, `position` INTEGER NOT NULL, `acc_match_group` INTEGER, `currency` INTEGER, `currency_match_group` INTEGER, `amount` REAL, `amount_match_group` INTEGER, `comment` TEXT, `comment_match_group` INTEGER, FOREIGN KEY(`pattern_id`) REFERENCES `patterns`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION , FOREIGN KEY(`currency`) REFERENCES `currencies`(`id`) ON UPDATE NO ACTION ON DELETE NO ACTION )",
119 "fieldPath": "patternId",
120 "columnName": "pattern_id",
121 "affinity": "INTEGER",
127 "affinity": "INTEGER",
131 "fieldPath": "accountName",
137 "fieldPath": "position",
138 "columnName": "position",
139 "affinity": "INTEGER",
143 "fieldPath": "accountNameMatchGroup",
144 "columnName": "acc_match_group",
145 "affinity": "INTEGER",
149 "fieldPath": "currency",
150 "columnName": "currency",
151 "affinity": "INTEGER",
155 "fieldPath": "currencyMatchGroup",
156 "columnName": "currency_match_group",
157 "affinity": "INTEGER",
161 "fieldPath": "amount",
162 "columnName": "amount",
167 "fieldPath": "amountMatchGroup",
168 "columnName": "amount_match_group",
169 "affinity": "INTEGER",
173 "fieldPath": "accountComment",
174 "columnName": "comment",
179 "fieldPath": "accountCommentMatchGroup",
180 "columnName": "comment_match_group",
181 "affinity": "INTEGER",
193 "name": "un_pattern_accounts",
198 "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `un_pattern_accounts` ON `${TABLE_NAME}` (`id`)"
204 "onDelete": "NO ACTION",
205 "onUpdate": "NO ACTION",
209 "referencedColumns": [
214 "table": "currencies",
215 "onDelete": "NO ACTION",
216 "onUpdate": "NO ACTION",
220 "referencedColumns": [
227 "tableName": "currencies",
228 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `position` TEXT NOT NULL, `has_gap` INTEGER NOT NULL)",
233 "affinity": "INTEGER",
238 "columnName": "name",
243 "fieldPath": "position",
244 "columnName": "position",
249 "fieldPath": "hasGap",
250 "columnName": "has_gap",
251 "affinity": "INTEGER",
267 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
268 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'ac17a190c6cd158bcb3eae9471522c6a')"