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, `text` TEXT NOT NULL, `rawText` TEXT NOT NULL, `wordCount` INTEGER NOT NULL, `timestamp` INTEGER NOT NULL, `sourceApp` TEXT, `durationMs` INTEGER NOT NULL, `historyVisible` INTEGER NOT NULL)",
10
+
"fields": [
11
+
{
12
+
"fieldPath": "id",
13
+
"columnName": "id",
14
+
"affinity": "INTEGER",
15
+
"notNull": true
16
+
},
17
+
{
18
+
"fieldPath": "text",
19
+
"columnName": "text",
20
+
"affinity": "TEXT",
21
+
"notNull": true
22
+
},
23
+
{
24
+
"fieldPath": "rawText",
25
+
"columnName": "rawText",
26
+
"affinity": "TEXT",
27
+
"notNull": true
28
+
},
29
+
{
30
+
"fieldPath": "wordCount",
31
+
"columnName": "wordCount",
32
+
"affinity": "INTEGER",
33
+
"notNull": true
34
+
},
35
+
{
36
+
"fieldPath": "timestamp",
37
+
"columnName": "timestamp",
38
+
"affinity": "INTEGER",
39
+
"notNull": true
40
+
},
41
+
{
42
+
"fieldPath": "sourceApp",
43
+
"columnName": "sourceApp",
44
+
"affinity": "TEXT"
45
+
},
46
+
{
47
+
"fieldPath": "durationMs",
48
+
"columnName": "durationMs",
49
+
"affinity": "INTEGER",
50
+
"notNull": true
51
+
},
52
+
{
53
+
"fieldPath": "historyVisible",
54
+
"columnName": "historyVisible",
55
+
"affinity": "INTEGER",
56
+
"notNull": true
57
+
}
58
+
],
59
+
"primaryKey": {
60
+
"autoGenerate": true,
61
+
"columnNames": [
62
+
"id"
63
+
]
64
+
},
65
+
"indices": [
66
+
{
67
+
"name": "index_dictations_timestamp",
68
+
"unique": false,
69
+
"columnNames": [
70
+
"timestamp"
71
+
],
72
+
"orders": [],
73
+
"createSql": "CREATE INDEX IF NOT EXISTS `index_dictations_timestamp` ON `${TABLE_NAME}` (`timestamp`)"
74
+
}
75
+
]
76
+
},
77
+
{
78
+
"tableName": "dictionary_words",
79
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `word` TEXT NOT NULL, `category` TEXT NOT NULL)",
80
+
"fields": [
81
+
{
82
+
"fieldPath": "id",
83
+
"columnName": "id",
84
+
"affinity": "INTEGER",
85
+
"notNull": true
86
+
},
87
+
{
88
+
"fieldPath": "word",
89
+
"columnName": "word",
90
+
"affinity": "TEXT",
91
+
"notNull": true
92
+
},
93
+
{
94
+
"fieldPath": "category",
95
+
"columnName": "category",
96
+
"affinity": "TEXT",
97
+
"notNull": true
98
+
}
99
+
],
100
+
"primaryKey": {
101
+
"autoGenerate": true,
102
+
"columnNames": [
103
+
"id"
104
+
]
105
+
}
106
+
}
107
+
],
108
+
"setupQueries": [
109
+
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
110
+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '61a361b569203bf94d8909941ab6ebfe')"
0 commit comments