Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
main ▾

Modern-Apps.git / launcher / schemas / com.vayunmathur.launcher.data.LauncherDatabase / 1.json

1.json153 lines · 4.8 KiBRaw
1{
2 "formatVersion": 1,
3 "database": {
4 "version": 1,
5 "identityHash": "c2e46f7e4614f36c894708d1b3fa14aa",
6 "entities": [
7 {
8 "tableName": "launcher_items",
9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`itemType` TEXT NOT NULL, `containerId` INTEGER NOT NULL, `screen` INTEGER NOT NULL, `cellX` INTEGER NOT NULL, `cellY` INTEGER NOT NULL, `spanX` INTEGER NOT NULL, `spanY` INTEGER NOT NULL, `rank` INTEGER NOT NULL, `title` TEXT, `packageName` TEXT, `className` TEXT, `profileSerial` INTEGER NOT NULL, `shortcutId` TEXT, `appWidgetId` INTEGER, `appWidgetProvider` TEXT, `hidden` INTEGER NOT NULL DEFAULT 0, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)",
10 "fields": [
11 {
12 "fieldPath": "itemType",
13 "columnName": "itemType",
14 "affinity": "TEXT",
15 "notNull": true
16 },
17 {
18 "fieldPath": "containerId",
19 "columnName": "containerId",
20 "affinity": "INTEGER",
21 "notNull": true
22 },
23 {
24 "fieldPath": "screen",
25 "columnName": "screen",
26 "affinity": "INTEGER",
27 "notNull": true
28 },
29 {
30 "fieldPath": "cellX",
31 "columnName": "cellX",
32 "affinity": "INTEGER",
33 "notNull": true
34 },
35 {
36 "fieldPath": "cellY",
37 "columnName": "cellY",
38 "affinity": "INTEGER",
39 "notNull": true
40 },
41 {
42 "fieldPath": "spanX",
43 "columnName": "spanX",
44 "affinity": "INTEGER",
45 "notNull": true
46 },
47 {
48 "fieldPath": "spanY",
49 "columnName": "spanY",
50 "affinity": "INTEGER",
51 "notNull": true
52 },
53 {
54 "fieldPath": "rank",
55 "columnName": "rank",
56 "affinity": "INTEGER",
57 "notNull": true
58 },
59 {
60 "fieldPath": "title",
61 "columnName": "title",
62 "affinity": "TEXT"
63 },
64 {
65 "fieldPath": "packageName",
66 "columnName": "packageName",
67 "affinity": "TEXT"
68 },
69 {
70 "fieldPath": "className",
71 "columnName": "className",
72 "affinity": "TEXT"
73 },
74 {
75 "fieldPath": "profileSerial",
76 "columnName": "profileSerial",
77 "affinity": "INTEGER",
78 "notNull": true
79 },
80 {
81 "fieldPath": "shortcutId",
82 "columnName": "shortcutId",
83 "affinity": "TEXT"
84 },
85 {
86 "fieldPath": "appWidgetId",
87 "columnName": "appWidgetId",
88 "affinity": "INTEGER"
89 },
90 {
91 "fieldPath": "appWidgetProvider",
92 "columnName": "appWidgetProvider",
93 "affinity": "TEXT"
94 },
95 {
96 "fieldPath": "hidden",
97 "columnName": "hidden",
98 "affinity": "INTEGER",
99 "notNull": true,
100 "defaultValue": "0"
101 },
102 {
103 "fieldPath": "id",
104 "columnName": "id",
105 "affinity": "INTEGER",
106 "notNull": true
107 }
108 ],
109 "primaryKey": {
110 "autoGenerate": true,
111 "columnNames": [
112 "id"
113 ]
114 },
115 "indices": [
116 {
117 "name": "index_launcher_items_containerId_screen",
118 "unique": false,
119 "columnNames": [
120 "containerId",
121 "screen"
122 ],
123 "orders": [],
124 "createSql": "CREATE INDEX IF NOT EXISTS `index_launcher_items_containerId_screen` ON `${TABLE_NAME}` (`containerId`, `screen`)"
125 },
126 {
127 "name": "index_launcher_items_packageName_profileSerial",
128 "unique": false,
129 "columnNames": [
130 "packageName",
131 "profileSerial"
132 ],
133 "orders": [],
134 "createSql": "CREATE INDEX IF NOT EXISTS `index_launcher_items_packageName_profileSerial` ON `${TABLE_NAME}` (`packageName`, `profileSerial`)"
135 },
136 {
137 "name": "index_launcher_items_appWidgetId",
138 "unique": true,
139 "columnNames": [
140 "appWidgetId"
141 ],
142 "orders": [],
143 "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_launcher_items_appWidgetId` ON `${TABLE_NAME}` (`appWidgetId`)"
144 }
145 ]
146 }
147 ],
148 "setupQueries": [
149 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
150 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c2e46f7e4614f36c894708d1b3fa14aa')"
151 ]
152 }
153}