You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `trigger` TEXT NOT NULL, `action_list` TEXT NOT NULL, `constraint_list` TEXT NOT NULL, `constraint_mode` INTEGER NOT NULL, `flags` INTEGER NOT NULL, `is_enabled` INTEGER NOT NULL, `uid` TEXT NOT NULL, `group_uid` TEXT, FOREIGN KEY(`group_uid`) REFERENCES `groups`(`uid`) ON UPDATE NO ACTION ON DELETE CASCADE )",
10
+
"fields": [
11
+
{
12
+
"fieldPath": "id",
13
+
"columnName": "id",
14
+
"affinity": "INTEGER",
15
+
"notNull": true
16
+
},
17
+
{
18
+
"fieldPath": "trigger",
19
+
"columnName": "trigger",
20
+
"affinity": "TEXT",
21
+
"notNull": true
22
+
},
23
+
{
24
+
"fieldPath": "actionList",
25
+
"columnName": "action_list",
26
+
"affinity": "TEXT",
27
+
"notNull": true
28
+
},
29
+
{
30
+
"fieldPath": "constraintList",
31
+
"columnName": "constraint_list",
32
+
"affinity": "TEXT",
33
+
"notNull": true
34
+
},
35
+
{
36
+
"fieldPath": "constraintMode",
37
+
"columnName": "constraint_mode",
38
+
"affinity": "INTEGER",
39
+
"notNull": true
40
+
},
41
+
{
42
+
"fieldPath": "flags",
43
+
"columnName": "flags",
44
+
"affinity": "INTEGER",
45
+
"notNull": true
46
+
},
47
+
{
48
+
"fieldPath": "isEnabled",
49
+
"columnName": "is_enabled",
50
+
"affinity": "INTEGER",
51
+
"notNull": true
52
+
},
53
+
{
54
+
"fieldPath": "uid",
55
+
"columnName": "uid",
56
+
"affinity": "TEXT",
57
+
"notNull": true
58
+
},
59
+
{
60
+
"fieldPath": "groupUid",
61
+
"columnName": "group_uid",
62
+
"affinity": "TEXT",
63
+
"notNull": false
64
+
}
65
+
],
66
+
"primaryKey": {
67
+
"autoGenerate": true,
68
+
"columnNames": [
69
+
"id"
70
+
]
71
+
},
72
+
"indices": [
73
+
{
74
+
"name": "index_keymaps_uid",
75
+
"unique": true,
76
+
"columnNames": [
77
+
"uid"
78
+
],
79
+
"orders": [],
80
+
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_keymaps_uid` ON `${TABLE_NAME}` (`uid`)"
81
+
}
82
+
],
83
+
"foreignKeys": [
84
+
{
85
+
"table": "groups",
86
+
"onDelete": "CASCADE",
87
+
"onUpdate": "NO ACTION",
88
+
"columns": [
89
+
"group_uid"
90
+
],
91
+
"referencedColumns": [
92
+
"uid"
93
+
]
94
+
}
95
+
]
96
+
},
97
+
{
98
+
"tableName": "fingerprintmaps",
99
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `action_list` TEXT NOT NULL, `constraint_list` TEXT NOT NULL, `constraint_mode` INTEGER NOT NULL, `extras` TEXT NOT NULL, `flags` INTEGER NOT NULL, `is_enabled` INTEGER NOT NULL, PRIMARY KEY(`id`))",
100
+
"fields": [
101
+
{
102
+
"fieldPath": "id",
103
+
"columnName": "id",
104
+
"affinity": "INTEGER",
105
+
"notNull": true
106
+
},
107
+
{
108
+
"fieldPath": "actionList",
109
+
"columnName": "action_list",
110
+
"affinity": "TEXT",
111
+
"notNull": true
112
+
},
113
+
{
114
+
"fieldPath": "constraintList",
115
+
"columnName": "constraint_list",
116
+
"affinity": "TEXT",
117
+
"notNull": true
118
+
},
119
+
{
120
+
"fieldPath": "constraintMode",
121
+
"columnName": "constraint_mode",
122
+
"affinity": "INTEGER",
123
+
"notNull": true
124
+
},
125
+
{
126
+
"fieldPath": "extras",
127
+
"columnName": "extras",
128
+
"affinity": "TEXT",
129
+
"notNull": true
130
+
},
131
+
{
132
+
"fieldPath": "flags",
133
+
"columnName": "flags",
134
+
"affinity": "INTEGER",
135
+
"notNull": true
136
+
},
137
+
{
138
+
"fieldPath": "isEnabled",
139
+
"columnName": "is_enabled",
140
+
"affinity": "INTEGER",
141
+
"notNull": true
142
+
}
143
+
],
144
+
"primaryKey": {
145
+
"autoGenerate": false,
146
+
"columnNames": [
147
+
"id"
148
+
]
149
+
},
150
+
"indices": [],
151
+
"foreignKeys": []
152
+
},
153
+
{
154
+
"tableName": "log",
155
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `time` INTEGER NOT NULL, `severity` INTEGER NOT NULL, `message` TEXT NOT NULL)",
156
+
"fields": [
157
+
{
158
+
"fieldPath": "id",
159
+
"columnName": "id",
160
+
"affinity": "INTEGER",
161
+
"notNull": true
162
+
},
163
+
{
164
+
"fieldPath": "time",
165
+
"columnName": "time",
166
+
"affinity": "INTEGER",
167
+
"notNull": true
168
+
},
169
+
{
170
+
"fieldPath": "severity",
171
+
"columnName": "severity",
172
+
"affinity": "INTEGER",
173
+
"notNull": true
174
+
},
175
+
{
176
+
"fieldPath": "message",
177
+
"columnName": "message",
178
+
"affinity": "TEXT",
179
+
"notNull": true
180
+
}
181
+
],
182
+
"primaryKey": {
183
+
"autoGenerate": true,
184
+
"columnNames": [
185
+
"id"
186
+
]
187
+
},
188
+
"indices": [],
189
+
"foreignKeys": []
190
+
},
191
+
{
192
+
"tableName": "floating_layouts",
193
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` TEXT NOT NULL, `name` TEXT NOT NULL, PRIMARY KEY(`uid`))",
194
+
"fields": [
195
+
{
196
+
"fieldPath": "uid",
197
+
"columnName": "uid",
198
+
"affinity": "TEXT",
199
+
"notNull": true
200
+
},
201
+
{
202
+
"fieldPath": "name",
203
+
"columnName": "name",
204
+
"affinity": "TEXT",
205
+
"notNull": true
206
+
}
207
+
],
208
+
"primaryKey": {
209
+
"autoGenerate": false,
210
+
"columnNames": [
211
+
"uid"
212
+
]
213
+
},
214
+
"indices": [
215
+
{
216
+
"name": "index_floating_layouts_name",
217
+
"unique": true,
218
+
"columnNames": [
219
+
"name"
220
+
],
221
+
"orders": [],
222
+
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_floating_layouts_name` ON `${TABLE_NAME}` (`name`)"
223
+
}
224
+
],
225
+
"foreignKeys": []
226
+
},
227
+
{
228
+
"tableName": "floating_buttons",
229
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` TEXT NOT NULL, `layout_uid` TEXT NOT NULL, `text` TEXT NOT NULL, `button_size` INTEGER NOT NULL, `x` INTEGER NOT NULL, `y` INTEGER NOT NULL, `orientation` TEXT NOT NULL, `display_width` INTEGER NOT NULL, `display_height` INTEGER NOT NULL, `border_opacity` REAL, `background_opacity` REAL, PRIMARY KEY(`uid`), FOREIGN KEY(`layout_uid`) REFERENCES `floating_layouts`(`uid`) ON UPDATE NO ACTION ON DELETE CASCADE )",
230
+
"fields": [
231
+
{
232
+
"fieldPath": "uid",
233
+
"columnName": "uid",
234
+
"affinity": "TEXT",
235
+
"notNull": true
236
+
},
237
+
{
238
+
"fieldPath": "layoutUid",
239
+
"columnName": "layout_uid",
240
+
"affinity": "TEXT",
241
+
"notNull": true
242
+
},
243
+
{
244
+
"fieldPath": "text",
245
+
"columnName": "text",
246
+
"affinity": "TEXT",
247
+
"notNull": true
248
+
},
249
+
{
250
+
"fieldPath": "buttonSize",
251
+
"columnName": "button_size",
252
+
"affinity": "INTEGER",
253
+
"notNull": true
254
+
},
255
+
{
256
+
"fieldPath": "x",
257
+
"columnName": "x",
258
+
"affinity": "INTEGER",
259
+
"notNull": true
260
+
},
261
+
{
262
+
"fieldPath": "y",
263
+
"columnName": "y",
264
+
"affinity": "INTEGER",
265
+
"notNull": true
266
+
},
267
+
{
268
+
"fieldPath": "orientation",
269
+
"columnName": "orientation",
270
+
"affinity": "TEXT",
271
+
"notNull": true
272
+
},
273
+
{
274
+
"fieldPath": "displayWidth",
275
+
"columnName": "display_width",
276
+
"affinity": "INTEGER",
277
+
"notNull": true
278
+
},
279
+
{
280
+
"fieldPath": "displayHeight",
281
+
"columnName": "display_height",
282
+
"affinity": "INTEGER",
283
+
"notNull": true
284
+
},
285
+
{
286
+
"fieldPath": "borderOpacity",
287
+
"columnName": "border_opacity",
288
+
"affinity": "REAL",
289
+
"notNull": false
290
+
},
291
+
{
292
+
"fieldPath": "backgroundOpacity",
293
+
"columnName": "background_opacity",
294
+
"affinity": "REAL",
295
+
"notNull": false
296
+
}
297
+
],
298
+
"primaryKey": {
299
+
"autoGenerate": false,
300
+
"columnNames": [
301
+
"uid"
302
+
]
303
+
},
304
+
"indices": [
305
+
{
306
+
"name": "index_floating_buttons_layout_uid",
307
+
"unique": false,
308
+
"columnNames": [
309
+
"layout_uid"
310
+
],
311
+
"orders": [],
312
+
"createSql": "CREATE INDEX IF NOT EXISTS `index_floating_buttons_layout_uid` ON `${TABLE_NAME}` (`layout_uid`)"
313
+
}
314
+
],
315
+
"foreignKeys": [
316
+
{
317
+
"table": "floating_layouts",
318
+
"onDelete": "CASCADE",
319
+
"onUpdate": "NO ACTION",
320
+
"columns": [
321
+
"layout_uid"
322
+
],
323
+
"referencedColumns": [
324
+
"uid"
325
+
]
326
+
}
327
+
]
328
+
},
329
+
{
330
+
"tableName": "groups",
331
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` TEXT NOT NULL, `name` TEXT NOT NULL, `constraints` TEXT NOT NULL, `constraint_mode` INTEGER NOT NULL, `parent_uid` TEXT, `last_opened_date` INTEGER, PRIMARY KEY(`uid`), FOREIGN KEY(`parent_uid`) REFERENCES `groups`(`uid`) ON UPDATE NO ACTION ON DELETE CASCADE )",
332
+
"fields": [
333
+
{
334
+
"fieldPath": "uid",
335
+
"columnName": "uid",
336
+
"affinity": "TEXT",
337
+
"notNull": true
338
+
},
339
+
{
340
+
"fieldPath": "name",
341
+
"columnName": "name",
342
+
"affinity": "TEXT",
343
+
"notNull": true
344
+
},
345
+
{
346
+
"fieldPath": "constraintList",
347
+
"columnName": "constraints",
348
+
"affinity": "TEXT",
349
+
"notNull": true
350
+
},
351
+
{
352
+
"fieldPath": "constraintMode",
353
+
"columnName": "constraint_mode",
354
+
"affinity": "INTEGER",
355
+
"notNull": true
356
+
},
357
+
{
358
+
"fieldPath": "parentUid",
359
+
"columnName": "parent_uid",
360
+
"affinity": "TEXT",
361
+
"notNull": false
362
+
},
363
+
{
364
+
"fieldPath": "lastOpenedDate",
365
+
"columnName": "last_opened_date",
366
+
"affinity": "INTEGER",
367
+
"notNull": false
368
+
}
369
+
],
370
+
"primaryKey": {
371
+
"autoGenerate": false,
372
+
"columnNames": [
373
+
"uid"
374
+
]
375
+
},
376
+
"indices": [],
377
+
"foreignKeys": [
378
+
{
379
+
"table": "groups",
380
+
"onDelete": "CASCADE",
381
+
"onUpdate": "NO ACTION",
382
+
"columns": [
383
+
"parent_uid"
384
+
],
385
+
"referencedColumns": [
386
+
"uid"
387
+
]
388
+
}
389
+
]
390
+
}
391
+
],
392
+
"views": [],
393
+
"setupQueries": [
394
+
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
395
+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'd6bb60215344b4b6c1a49f72576b6535')"
0 commit comments