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
{{ message }}
This repository was archived by the owner on Mar 13, 2023. It is now read-only.
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`title` TEXT NOT NULL, `duration` INTEGER NOT NULL, `path` TEXT NOT NULL, `downloadUrl` TEXT NOT NULL, `originalUrl` TEXT NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)",
10
+
"fields": [
11
+
{
12
+
"fieldPath": "title",
13
+
"columnName": "title",
14
+
"affinity": "TEXT",
15
+
"notNull": true
16
+
},
17
+
{
18
+
"fieldPath": "duration",
19
+
"columnName": "duration",
20
+
"affinity": "INTEGER",
21
+
"notNull": true
22
+
},
23
+
{
24
+
"fieldPath": "path",
25
+
"columnName": "path",
26
+
"affinity": "TEXT",
27
+
"notNull": true
28
+
},
29
+
{
30
+
"fieldPath": "downloadUrl",
31
+
"columnName": "downloadUrl",
32
+
"affinity": "TEXT",
33
+
"notNull": true
34
+
},
35
+
{
36
+
"fieldPath": "originalUrl",
37
+
"columnName": "originalUrl",
38
+
"affinity": "TEXT",
39
+
"notNull": true
40
+
},
41
+
{
42
+
"fieldPath": "id",
43
+
"columnName": "id",
44
+
"affinity": "INTEGER",
45
+
"notNull": true
46
+
}
47
+
],
48
+
"primaryKey": {
49
+
"columnNames": [
50
+
"id"
51
+
],
52
+
"autoGenerate": true
53
+
},
54
+
"indices": [],
55
+
"foreignKeys": []
56
+
},
57
+
{
58
+
"tableName": "downloads",
59
+
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`url` TEXT NOT NULL, `downloadId` INTEGER NOT NULL, `name` TEXT NOT NULL, `originalUrl` TEXT NOT NULL, `currentBytes` INTEGER NOT NULL, `totalBytes` INTEGER NOT NULL, `dateAdded` INTEGER NOT NULL, `extension` TEXT NOT NULL, `isCompleted` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)",
60
+
"fields": [
61
+
{
62
+
"fieldPath": "url",
63
+
"columnName": "url",
64
+
"affinity": "TEXT",
65
+
"notNull": true
66
+
},
67
+
{
68
+
"fieldPath": "downloadId",
69
+
"columnName": "downloadId",
70
+
"affinity": "INTEGER",
71
+
"notNull": true
72
+
},
73
+
{
74
+
"fieldPath": "name",
75
+
"columnName": "name",
76
+
"affinity": "TEXT",
77
+
"notNull": true
78
+
},
79
+
{
80
+
"fieldPath": "originalUrl",
81
+
"columnName": "originalUrl",
82
+
"affinity": "TEXT",
83
+
"notNull": true
84
+
},
85
+
{
86
+
"fieldPath": "currentBytes",
87
+
"columnName": "currentBytes",
88
+
"affinity": "INTEGER",
89
+
"notNull": true
90
+
},
91
+
{
92
+
"fieldPath": "totalBytes",
93
+
"columnName": "totalBytes",
94
+
"affinity": "INTEGER",
95
+
"notNull": true
96
+
},
97
+
{
98
+
"fieldPath": "dateAdded",
99
+
"columnName": "dateAdded",
100
+
"affinity": "INTEGER",
101
+
"notNull": true
102
+
},
103
+
{
104
+
"fieldPath": "extension",
105
+
"columnName": "extension",
106
+
"affinity": "TEXT",
107
+
"notNull": true
108
+
},
109
+
{
110
+
"fieldPath": "isCompleted",
111
+
"columnName": "isCompleted",
112
+
"affinity": "INTEGER",
113
+
"notNull": true
114
+
},
115
+
{
116
+
"fieldPath": "id",
117
+
"columnName": "id",
118
+
"affinity": "INTEGER",
119
+
"notNull": true
120
+
}
121
+
],
122
+
"primaryKey": {
123
+
"columnNames": [
124
+
"id"
125
+
],
126
+
"autoGenerate": true
127
+
},
128
+
"indices": [],
129
+
"foreignKeys": []
130
+
}
131
+
],
132
+
"views": [],
133
+
"setupQueries": [
134
+
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
135
+
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '83c33dbd9f86f8a0c91a04b898d6c5ea')"
0 commit comments