Files
Releases/app/schemas/com.looker.droidify.data.local.DroidifyDatabase/1.json
Felitendo 52fc500ed6
Some checks failed
Build Debug APK / build (push) Has been cancelled
v0.6.6
2025-09-11 16:22:58 +02:00

1084 lines
31 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "e64dac21017b34894f6d9d7890184178",
"entities": [
{
"tableName": "anti_feature",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`icon` TEXT, `name` TEXT NOT NULL, `description` TEXT, `locale` TEXT NOT NULL, `tag` TEXT NOT NULL, PRIMARY KEY(`tag`, `locale`))",
"fields": [
{
"fieldPath": "icon",
"columnName": "icon",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "description",
"columnName": "description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "locale",
"columnName": "locale",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "tag",
"columnName": "tag",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"tag",
"locale"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "anti_features_app_relation",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`tag` TEXT NOT NULL, `reason` TEXT NOT NULL, `appId` INTEGER NOT NULL, `versionCode` INTEGER NOT NULL, PRIMARY KEY(`tag`, `appId`, `versionCode`), FOREIGN KEY(`appId`) REFERENCES `app`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "tag",
"columnName": "tag",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "reason",
"columnName": "reason",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "appId",
"columnName": "appId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "versionCode",
"columnName": "versionCode",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"tag",
"appId",
"versionCode"
]
},
"indices": [],
"foreignKeys": [
{
"table": "app",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"appId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "anti_feature_repo_relation",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `tag` TEXT NOT NULL, PRIMARY KEY(`id`, `tag`), FOREIGN KEY(`id`) REFERENCES `repository`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "repoId",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "tag",
"columnName": "tag",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id",
"tag"
]
},
"indices": [],
"foreignKeys": [
{
"table": "repository",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "authentication",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`password` TEXT NOT NULL, `username` TEXT NOT NULL, `initializationVector` TEXT NOT NULL, `repoId` INTEGER NOT NULL, PRIMARY KEY(`repoId`), FOREIGN KEY(`repoId`) REFERENCES `repository`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "password",
"columnName": "password",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "username",
"columnName": "username",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "initializationVector",
"columnName": "initializationVector",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "repoId",
"columnName": "repoId",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"repoId"
]
},
"indices": [],
"foreignKeys": [
{
"table": "repository",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"repoId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "author",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`email` TEXT, `name` TEXT, `website` TEXT, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)",
"fields": [
{
"fieldPath": "email",
"columnName": "email",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "website",
"columnName": "website",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_author_email_name_website",
"unique": true,
"columnNames": [
"email",
"name",
"website"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_author_email_name_website` ON `${TABLE_NAME}` (`email`, `name`, `website`)"
}
],
"foreignKeys": []
},
{
"tableName": "app",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`added` INTEGER NOT NULL, `lastUpdated` INTEGER NOT NULL, `license` TEXT, `name` TEXT NOT NULL, `icon` TEXT, `preferredSigner` TEXT, `summary` TEXT, `description` TEXT, `packageName` TEXT NOT NULL, `authorId` INTEGER NOT NULL, `repoId` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, FOREIGN KEY(`repoId`) REFERENCES `repository`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`authorId`) REFERENCES `author`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "added",
"columnName": "added",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "lastUpdated",
"columnName": "lastUpdated",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "license",
"columnName": "license",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "icon",
"columnName": "icon",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "preferredSigner",
"columnName": "preferredSigner",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "summary",
"columnName": "summary",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "description",
"columnName": "description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "packageName",
"columnName": "packageName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "authorId",
"columnName": "authorId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "repoId",
"columnName": "repoId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_app_authorId",
"unique": false,
"columnNames": [
"authorId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_app_authorId` ON `${TABLE_NAME}` (`authorId`)"
},
{
"name": "index_app_repoId",
"unique": false,
"columnNames": [
"repoId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_app_repoId` ON `${TABLE_NAME}` (`repoId`)"
},
{
"name": "index_app_packageName",
"unique": false,
"columnNames": [
"packageName"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_app_packageName` ON `${TABLE_NAME}` (`packageName`)"
},
{
"name": "index_app_packageName_repoId",
"unique": true,
"columnNames": [
"packageName",
"repoId"
],
"orders": [],
"createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_app_packageName_repoId` ON `${TABLE_NAME}` (`packageName`, `repoId`)"
}
],
"foreignKeys": [
{
"table": "repository",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"repoId"
],
"referencedColumns": [
"id"
]
},
{
"table": "author",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"authorId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "category",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`icon` TEXT, `name` TEXT NOT NULL, `description` TEXT, `locale` TEXT NOT NULL, `defaultName` TEXT NOT NULL, PRIMARY KEY(`defaultName`, `locale`))",
"fields": [
{
"fieldPath": "icon",
"columnName": "icon",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "description",
"columnName": "description",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "locale",
"columnName": "locale",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "defaultName",
"columnName": "defaultName",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"defaultName",
"locale"
]
},
"indices": [
{
"name": "index_category_defaultName",
"unique": false,
"columnNames": [
"defaultName"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_category_defaultName` ON `${TABLE_NAME}` (`defaultName`)"
}
],
"foreignKeys": []
},
{
"tableName": "category_app_relation",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `defaultName` TEXT NOT NULL, PRIMARY KEY(`id`, `defaultName`), FOREIGN KEY(`id`) REFERENCES `app`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "appId",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "defaultName",
"columnName": "defaultName",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id",
"defaultName"
]
},
"indices": [],
"foreignKeys": [
{
"table": "app",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "category_repo_relation",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `defaultName` TEXT NOT NULL, PRIMARY KEY(`id`, `defaultName`), FOREIGN KEY(`id`) REFERENCES `repository`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "repoId",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "defaultName",
"columnName": "defaultName",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id",
"defaultName"
]
},
"indices": [],
"foreignKeys": [
{
"table": "repository",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"id"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "donate",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`type` INTEGER NOT NULL, `value` TEXT NOT NULL, `appId` INTEGER NOT NULL, PRIMARY KEY(`type`, `appId`), FOREIGN KEY(`appId`) REFERENCES `app`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "type",
"columnName": "type",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "value",
"columnName": "value",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "appId",
"columnName": "appId",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"type",
"appId"
]
},
"indices": [
{
"name": "index_donate_appId",
"unique": false,
"columnNames": [
"appId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_donate_appId` ON `${TABLE_NAME}` (`appId`)"
}
],
"foreignKeys": [
{
"table": "app",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"appId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "graphic",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`type` INTEGER NOT NULL, `url` TEXT NOT NULL, `locale` TEXT NOT NULL, `appId` INTEGER NOT NULL, PRIMARY KEY(`type`, `locale`, `appId`), FOREIGN KEY(`appId`) REFERENCES `app`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "type",
"columnName": "type",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "url",
"columnName": "url",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "locale",
"columnName": "locale",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "appId",
"columnName": "appId",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"type",
"locale",
"appId"
]
},
"indices": [
{
"name": "index_graphic_appId_locale",
"unique": false,
"columnNames": [
"appId",
"locale"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_graphic_appId_locale` ON `${TABLE_NAME}` (`appId`, `locale`)"
}
],
"foreignKeys": [
{
"table": "app",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"appId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "installed",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`versionCode` TEXT NOT NULL, `versionName` TEXT NOT NULL, `signature` TEXT NOT NULL, `packageName` TEXT NOT NULL, PRIMARY KEY(`packageName`))",
"fields": [
{
"fieldPath": "versionCode",
"columnName": "versionCode",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "versionName",
"columnName": "versionName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "signature",
"columnName": "signature",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "packageName",
"columnName": "packageName",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"packageName"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "link",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`changelog` TEXT, `issueTracker` TEXT, `translation` TEXT, `sourceCode` TEXT, `webSite` TEXT, `appId` INTEGER NOT NULL, PRIMARY KEY(`appId`), FOREIGN KEY(`appId`) REFERENCES `app`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "changelog",
"columnName": "changelog",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "issueTracker",
"columnName": "issueTracker",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "translation",
"columnName": "translation",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "sourceCode",
"columnName": "sourceCode",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "webSite",
"columnName": "webSite",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "appId",
"columnName": "appId",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"appId"
]
},
"indices": [],
"foreignKeys": [
{
"table": "app",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"appId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "mirror",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`url` TEXT NOT NULL, `countryCode` TEXT, `isPrimary` INTEGER NOT NULL, `repoId` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, FOREIGN KEY(`repoId`) REFERENCES `repository`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "url",
"columnName": "url",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "countryCode",
"columnName": "countryCode",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "isPrimary",
"columnName": "isPrimary",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "repoId",
"columnName": "repoId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_mirror_repoId",
"unique": false,
"columnNames": [
"repoId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_mirror_repoId` ON `${TABLE_NAME}` (`repoId`)"
}
],
"foreignKeys": [
{
"table": "repository",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"repoId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "repository",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`icon` TEXT, `address` TEXT NOT NULL, `name` TEXT NOT NULL, `description` TEXT NOT NULL, `fingerprint` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)",
"fields": [
{
"fieldPath": "icon",
"columnName": "icon",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "address",
"columnName": "address",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "description",
"columnName": "description",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "fingerprint",
"columnName": "fingerprint",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "timestamp",
"columnName": "timestamp",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "screenshot",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`path` TEXT NOT NULL, `type` INTEGER NOT NULL, `locale` TEXT NOT NULL, `appId` INTEGER NOT NULL, PRIMARY KEY(`path`, `type`, `locale`, `appId`), FOREIGN KEY(`appId`) REFERENCES `app`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "path",
"columnName": "path",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "type",
"columnName": "type",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "locale",
"columnName": "locale",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "appId",
"columnName": "appId",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"path",
"type",
"locale",
"appId"
]
},
"indices": [
{
"name": "index_screenshot_appId_locale",
"unique": false,
"columnNames": [
"appId",
"locale"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_screenshot_appId_locale` ON `${TABLE_NAME}` (`appId`, `locale`)"
}
],
"foreignKeys": [
{
"table": "app",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"appId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "version",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`added` INTEGER NOT NULL, `whatsNew` TEXT NOT NULL, `versionName` TEXT NOT NULL, `versionCode` INTEGER NOT NULL, `maxSdkVersion` INTEGER, `minSdkVersion` INTEGER NOT NULL, `targetSdkVersion` INTEGER NOT NULL, `features` TEXT NOT NULL, `nativeCode` TEXT NOT NULL, `permissions` TEXT NOT NULL, `permissionsSdk23` TEXT NOT NULL, `appId` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `apk_name` TEXT NOT NULL, `apk_sha256` TEXT NOT NULL, `apk_size` INTEGER NOT NULL, `src_name` TEXT, `src_sha256` TEXT, `src_size` INTEGER, FOREIGN KEY(`appId`) REFERENCES `app`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "added",
"columnName": "added",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "whatsNew",
"columnName": "whatsNew",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "versionName",
"columnName": "versionName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "versionCode",
"columnName": "versionCode",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "maxSdkVersion",
"columnName": "maxSdkVersion",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "minSdkVersion",
"columnName": "minSdkVersion",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "targetSdkVersion",
"columnName": "targetSdkVersion",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "features",
"columnName": "features",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "nativeCode",
"columnName": "nativeCode",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "permissions",
"columnName": "permissions",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "permissionsSdk23",
"columnName": "permissionsSdk23",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "appId",
"columnName": "appId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "apk.name",
"columnName": "apk_name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "apk.sha256",
"columnName": "apk_sha256",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "apk.size",
"columnName": "apk_size",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "src.name",
"columnName": "src_name",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "src.sha256",
"columnName": "src_sha256",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "src.size",
"columnName": "src_size",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_version_appId",
"unique": false,
"columnNames": [
"appId"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_version_appId` ON `${TABLE_NAME}` (`appId`)"
}
],
"foreignKeys": [
{
"table": "app",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"appId"
],
"referencedColumns": [
"id"
]
}
]
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'e64dac21017b34894f6d9d7890184178')"
]
}
}