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}` (`regexPattern` TEXT NOT NULL, `action` TEXT NOT NULL, `regexTarget` TEXT NOT NULL, `secondaryRegexPattern` TEXT, `enabled` INTEGER NOT NULL, `historyEnabled` INTEGER NOT NULL, `widgetEnabled` INTEGER NOT NULL DEFAULT 0, `hits` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `app_name` TEXT NOT NULL, `app_packageName` TEXT NOT NULL, `schedule_start` INTEGER NOT NULL, `schedule_end` INTEGER NOT NULL, `schedule_days` TEXT NOT NULL)",
10
+
"fields": [
11
+
{
12
+
"fieldPath": "regexPattern",
13
+
"columnName": "regexPattern",
14
+
"affinity": "TEXT",
15
+
"notNull": true
16
+
},
17
+
{
18
+
"fieldPath": "action",
19
+
"columnName": "action",
20
+
"affinity": "TEXT",
21
+
"notNull": true
22
+
},
23
+
{
24
+
"fieldPath": "regexTarget",
25
+
"columnName": "regexTarget",
26
+
"affinity": "TEXT",
27
+
"notNull": true
28
+
},
29
+
{
30
+
"fieldPath": "secondaryRegexPattern",
31
+
"columnName": "secondaryRegexPattern",
32
+
"affinity": "TEXT"
33
+
},
34
+
{
35
+
"fieldPath": "enabled",
36
+
"columnName": "enabled",
37
+
"affinity": "INTEGER",
38
+
"notNull": true
39
+
},
40
+
{
41
+
"fieldPath": "historyEnabled",
42
+
"columnName": "historyEnabled",
43
+
"affinity": "INTEGER",
44
+
"notNull": true
45
+
},
46
+
{
47
+
"fieldPath": "widgetEnabled",
48
+
"columnName": "widgetEnabled",
49
+
"affinity": "INTEGER",
50
+
"notNull": true,
51
+
"defaultValue": "0"
52
+
},
53
+
{
54
+
"fieldPath": "hits",
55
+
"columnName": "hits",
56
+
"affinity": "INTEGER",
57
+
"notNull": true
58
+
},
59
+
{
60
+
"fieldPath": "id",
61
+
"columnName": "id",
62
+
"affinity": "INTEGER",
63
+
"notNull": true
64
+
},
65
+
{
66
+
"fieldPath": "app.name",
67
+
"columnName": "app_name",
68
+
"affinity": "TEXT",
69
+
"notNull": true
70
+
},
71
+
{
72
+
"fieldPath": "app.packageName",
73
+
"columnName": "app_packageName",
74
+
"affinity": "TEXT",
75
+
"notNull": true
76
+
},
77
+
{
78
+
"fieldPath": "schedule.start",
79
+
"columnName": "schedule_start",
80
+
"affinity": "INTEGER",
81
+
"notNull": true
82
+
},
83
+
{
84
+
"fieldPath": "schedule.end",
85
+
"columnName": "schedule_end",
86
+
"affinity": "INTEGER",
87
+
"notNull": true
88
+
},
89
+
{
90
+
"fieldPath": "schedule.days",
91
+
"columnName": "schedule_days",
92
+
"affinity": "TEXT",
93
+
"notNull": true
94
+
}
95
+
],
96
+
"primaryKey": {
97
+
"autoGenerate": true,
98
+
"columnNames": [
99
+
"id"
100
+
]
101
+
}
102
+
},
103
+
{
104
+
"tableName": "notifications",
105
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`title` TEXT NOT NULL, `content` TEXT NOT NULL, `origin` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `showInHistory` INTEGER NOT NULL DEFAULT 1, `showInWidget` INTEGER NOT NULL DEFAULT 0, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)",
106
+
"fields": [
107
+
{
108
+
"fieldPath": "title",
109
+
"columnName": "title",
110
+
"affinity": "TEXT",
111
+
"notNull": true
112
+
},
113
+
{
114
+
"fieldPath": "content",
115
+
"columnName": "content",
116
+
"affinity": "TEXT",
117
+
"notNull": true
118
+
},
119
+
{
120
+
"fieldPath": "origin",
121
+
"columnName": "origin",
122
+
"affinity": "TEXT",
123
+
"notNull": true
124
+
},
125
+
{
126
+
"fieldPath": "timestamp",
127
+
"columnName": "timestamp",
128
+
"affinity": "INTEGER",
129
+
"notNull": true
130
+
},
131
+
{
132
+
"fieldPath": "showInHistory",
133
+
"columnName": "showInHistory",
134
+
"affinity": "INTEGER",
135
+
"notNull": true,
136
+
"defaultValue": "1"
137
+
},
138
+
{
139
+
"fieldPath": "showInWidget",
140
+
"columnName": "showInWidget",
141
+
"affinity": "INTEGER",
142
+
"notNull": true,
143
+
"defaultValue": "0"
144
+
},
145
+
{
146
+
"fieldPath": "id",
147
+
"columnName": "id",
148
+
"affinity": "INTEGER",
149
+
"notNull": true
150
+
}
151
+
],
152
+
"primaryKey": {
153
+
"autoGenerate": true,
154
+
"columnNames": [
155
+
"id"
156
+
]
157
+
}
158
+
}
159
+
],
160
+
"setupQueries": [
161
+
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
162
+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '5a4d946a922bfa0ba8b42571ca3b51da')"
0 commit comments