{ "formatVersion": 1, "database": { "version": 13, "identityHash": "5cea521e1a26473b2ec5298791f10ac4", "entities": [ { "tableName": "results", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `url` TEXT NOT NULL, `title` TEXT NOT NULL, `author` TEXT NOT NULL, `duration` TEXT NOT NULL, `thumb` TEXT NOT NULL, `website` TEXT NOT NULL, `playlistTitle` TEXT NOT NULL, `formats` TEXT NOT NULL, `urls` TEXT NOT NULL DEFAULT '', `chapters` TEXT, `playlistURL` TEXT DEFAULT '', `playlistIndex` INTEGER, `creationTime` INTEGER NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "url", "columnName": "url", "affinity": "TEXT", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": true }, { "fieldPath": "author", "columnName": "author", "affinity": "TEXT", "notNull": true }, { "fieldPath": "duration", "columnName": "duration", "affinity": "TEXT", "notNull": true }, { "fieldPath": "thumb", "columnName": "thumb", "affinity": "TEXT", "notNull": true }, { "fieldPath": "website", "columnName": "website", "affinity": "TEXT", "notNull": true }, { "fieldPath": "playlistTitle", "columnName": "playlistTitle", "affinity": "TEXT", "notNull": true }, { "fieldPath": "formats", "columnName": "formats", "affinity": "TEXT", "notNull": true }, { "fieldPath": "urls", "columnName": "urls", "affinity": "TEXT", "notNull": true, "defaultValue": "''" }, { "fieldPath": "chapters", "columnName": "chapters", "affinity": "TEXT", "notNull": false }, { "fieldPath": "playlistURL", "columnName": "playlistURL", "affinity": "TEXT", "notNull": false, "defaultValue": "''" }, { "fieldPath": "playlistIndex", "columnName": "playlistIndex", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "creationTime", "columnName": "creationTime", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "history", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `url` TEXT NOT NULL, `title` TEXT NOT NULL, `author` TEXT NOT NULL, `duration` TEXT NOT NULL, `thumb` TEXT NOT NULL, `type` TEXT NOT NULL, `time` INTEGER NOT NULL, `downloadPath` TEXT NOT NULL, `website` TEXT NOT NULL, `format` TEXT NOT NULL, `downloadId` INTEGER NOT NULL DEFAULT 0, `command` TEXT NOT NULL DEFAULT '')", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "url", "columnName": "url", "affinity": "TEXT", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": true }, { "fieldPath": "author", "columnName": "author", "affinity": "TEXT", "notNull": true }, { "fieldPath": "duration", "columnName": "duration", "affinity": "TEXT", "notNull": true }, { "fieldPath": "thumb", "columnName": "thumb", "affinity": "TEXT", "notNull": true }, { "fieldPath": "type", "columnName": "type", "affinity": "TEXT", "notNull": true }, { "fieldPath": "time", "columnName": "time", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "downloadPath", "columnName": "downloadPath", "affinity": "TEXT", "notNull": true }, { "fieldPath": "website", "columnName": "website", "affinity": "TEXT", "notNull": true }, { "fieldPath": "format", "columnName": "format", "affinity": "TEXT", "notNull": true }, { "fieldPath": "downloadId", "columnName": "downloadId", "affinity": "INTEGER", "notNull": true, "defaultValue": "0" }, { "fieldPath": "command", "columnName": "command", "affinity": "TEXT", "notNull": true, "defaultValue": "''" } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "downloads", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `url` TEXT NOT NULL, `title` TEXT NOT NULL, `author` TEXT NOT NULL, `thumb` TEXT NOT NULL, `duration` TEXT NOT NULL, `type` TEXT NOT NULL, `format` TEXT NOT NULL, `container` TEXT NOT NULL DEFAULT 'Default', `downloadSections` TEXT NOT NULL DEFAULT '', `allFormats` TEXT NOT NULL, `downloadPath` TEXT NOT NULL, `website` TEXT NOT NULL, `downloadSize` TEXT NOT NULL, `playlistTitle` TEXT NOT NULL, `audioPreferences` TEXT NOT NULL, `videoPreferences` TEXT NOT NULL, `extraCommands` TEXT NOT NULL DEFAULT '', `customFileNameTemplate` TEXT NOT NULL, `SaveThumb` INTEGER NOT NULL, `status` TEXT NOT NULL DEFAULT 'Queued', `downloadStartTime` INTEGER NOT NULL DEFAULT 0, `logID` INTEGER, `playlistURL` TEXT DEFAULT '', `playlistIndex` INTEGER)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "url", "columnName": "url", "affinity": "TEXT", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": true }, { "fieldPath": "author", "columnName": "author", "affinity": "TEXT", "notNull": true }, { "fieldPath": "thumb", "columnName": "thumb", "affinity": "TEXT", "notNull": true }, { "fieldPath": "duration", "columnName": "duration", "affinity": "TEXT", "notNull": true }, { "fieldPath": "type", "columnName": "type", "affinity": "TEXT", "notNull": true }, { "fieldPath": "format", "columnName": "format", "affinity": "TEXT", "notNull": true }, { "fieldPath": "container", "columnName": "container", "affinity": "TEXT", "notNull": true, "defaultValue": "'Default'" }, { "fieldPath": "downloadSections", "columnName": "downloadSections", "affinity": "TEXT", "notNull": true, "defaultValue": "''" }, { "fieldPath": "allFormats", "columnName": "allFormats", "affinity": "TEXT", "notNull": true }, { "fieldPath": "downloadPath", "columnName": "downloadPath", "affinity": "TEXT", "notNull": true }, { "fieldPath": "website", "columnName": "website", "affinity": "TEXT", "notNull": true }, { "fieldPath": "downloadSize", "columnName": "downloadSize", "affinity": "TEXT", "notNull": true }, { "fieldPath": "playlistTitle", "columnName": "playlistTitle", "affinity": "TEXT", "notNull": true }, { "fieldPath": "audioPreferences", "columnName": "audioPreferences", "affinity": "TEXT", "notNull": true }, { "fieldPath": "videoPreferences", "columnName": "videoPreferences", "affinity": "TEXT", "notNull": true }, { "fieldPath": "extraCommands", "columnName": "extraCommands", "affinity": "TEXT", "notNull": true, "defaultValue": "''" }, { "fieldPath": "customFileNameTemplate", "columnName": "customFileNameTemplate", "affinity": "TEXT", "notNull": true }, { "fieldPath": "SaveThumb", "columnName": "SaveThumb", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "status", "columnName": "status", "affinity": "TEXT", "notNull": true, "defaultValue": "'Queued'" }, { "fieldPath": "downloadStartTime", "columnName": "downloadStartTime", "affinity": "INTEGER", "notNull": true, "defaultValue": "0" }, { "fieldPath": "logID", "columnName": "logID", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "playlistURL", "columnName": "playlistURL", "affinity": "TEXT", "notNull": false, "defaultValue": "''" }, { "fieldPath": "playlistIndex", "columnName": "playlistIndex", "affinity": "INTEGER", "notNull": false } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "commandTemplates", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT NOT NULL, `content` TEXT NOT NULL, `useAsExtraCommand` INTEGER NOT NULL DEFAULT 0, `useAsExtraCommandAudio` INTEGER NOT NULL DEFAULT 1, `useAsExtraCommandVideo` INTEGER NOT NULL DEFAULT 1)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": true }, { "fieldPath": "content", "columnName": "content", "affinity": "TEXT", "notNull": true }, { "fieldPath": "useAsExtraCommand", "columnName": "useAsExtraCommand", "affinity": "INTEGER", "notNull": true, "defaultValue": "0" }, { "fieldPath": "useAsExtraCommandAudio", "columnName": "useAsExtraCommandAudio", "affinity": "INTEGER", "notNull": true, "defaultValue": "1" }, { "fieldPath": "useAsExtraCommandVideo", "columnName": "useAsExtraCommandVideo", "affinity": "INTEGER", "notNull": true, "defaultValue": "1" } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "searchHistory", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `query` TEXT NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "query", "columnName": "query", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "templateShortcuts", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `content` TEXT NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "content", "columnName": "content", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "cookies", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `url` TEXT NOT NULL, `content` TEXT NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "url", "columnName": "url", "affinity": "TEXT", "notNull": true }, { "fieldPath": "content", "columnName": "content", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "logs", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT NOT NULL, `content` TEXT NOT NULL, `format` TEXT NOT NULL, `downloadType` TEXT NOT NULL, `downloadTime` INTEGER NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": true }, { "fieldPath": "content", "columnName": "content", "affinity": "TEXT", "notNull": true }, { "fieldPath": "format", "columnName": "format", "affinity": "TEXT", "notNull": true }, { "fieldPath": "downloadType", "columnName": "downloadType", "affinity": "TEXT", "notNull": true }, { "fieldPath": "downloadTime", "columnName": "downloadTime", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "terminalDownloads", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `command` TEXT NOT NULL, `log` TEXT DEFAULT '')", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "command", "columnName": "command", "affinity": "TEXT", "notNull": true }, { "fieldPath": "log", "columnName": "log", "affinity": "TEXT", "notNull": false, "defaultValue": "''" } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] } ], "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, '5cea521e1a26473b2ec5298791f10ac4')" ] } }