5 "identityHash": "c149635e66c6c7a1e88973463ab4f35d",
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, `test_text` TEXT, `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": "testText",
37 "columnName": "test_text",
42 "fieldPath": "transactionDescription",
43 "columnName": "transaction_description",
48 "fieldPath": "transactionDescriptionMatchGroup",
49 "columnName": "transaction_description_match_group",
50 "affinity": "INTEGER",
54 "fieldPath": "transactionComment",
55 "columnName": "transaction_comment",
60 "fieldPath": "transactionCommentMatchGroup",
61 "columnName": "transaction_comment_match_group",
62 "affinity": "INTEGER",
66 "fieldPath": "dateYear",
67 "columnName": "date_year",
68 "affinity": "INTEGER",
72 "fieldPath": "dateYearMatchGroup",
73 "columnName": "date_year_match_group",
74 "affinity": "INTEGER",
78 "fieldPath": "dateMonth",
79 "columnName": "date_month",
80 "affinity": "INTEGER",
84 "fieldPath": "dateMonthMatchGroup",
85 "columnName": "date_month_match_group",
86 "affinity": "INTEGER",
90 "fieldPath": "dateDay",
91 "columnName": "date_day",
92 "affinity": "INTEGER",
96 "fieldPath": "dateDayMatchGroup",
97 "columnName": "date_day_match_group",
98 "affinity": "INTEGER",
110 "name": "un_patterns_id",
115 "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `un_patterns_id` ON `${TABLE_NAME}` (`id`)"
121 "tableName": "pattern_accounts",
122 "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 )",
125 "fieldPath": "patternId",
126 "columnName": "pattern_id",
127 "affinity": "INTEGER",
133 "affinity": "INTEGER",
137 "fieldPath": "accountName",
143 "fieldPath": "position",
144 "columnName": "position",
145 "affinity": "INTEGER",
149 "fieldPath": "accountNameMatchGroup",
150 "columnName": "acc_match_group",
151 "affinity": "INTEGER",
155 "fieldPath": "currency",
156 "columnName": "currency",
157 "affinity": "INTEGER",
161 "fieldPath": "currencyMatchGroup",
162 "columnName": "currency_match_group",
163 "affinity": "INTEGER",
167 "fieldPath": "amount",
168 "columnName": "amount",
173 "fieldPath": "amountMatchGroup",
174 "columnName": "amount_match_group",
175 "affinity": "INTEGER",
179 "fieldPath": "accountComment",
180 "columnName": "comment",
185 "fieldPath": "accountCommentMatchGroup",
186 "columnName": "comment_match_group",
187 "affinity": "INTEGER",
199 "name": "un_pattern_accounts",
204 "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `un_pattern_accounts` ON `${TABLE_NAME}` (`id`)"
210 "onDelete": "NO ACTION",
211 "onUpdate": "NO ACTION",
215 "referencedColumns": [
220 "table": "currencies",
221 "onDelete": "NO ACTION",
222 "onUpdate": "NO ACTION",
226 "referencedColumns": [
233 "tableName": "currencies",
234 "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)",
239 "affinity": "INTEGER",
244 "columnName": "name",
249 "fieldPath": "position",
250 "columnName": "position",
255 "fieldPath": "hasGap",
256 "columnName": "has_gap",
257 "affinity": "INTEGER",
273 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
274 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c149635e66c6c7a1e88973463ab4f35d')"