{ "formatVersion": 1, "database": { "version": 3, "identityHash": "95e83d6663a862c03ac46f9567453ded", "entities": [ { "tableName": "artists", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `serverId` INTEGER NOT NULL DEFAULT -1, `name` TEXT, `index` TEXT, `coverArt` TEXT, `albumCount` INTEGER, `closeness` INTEGER NOT NULL, PRIMARY KEY(`id`, `serverId`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "serverId", "columnName": "serverId", "affinity": "INTEGER", "notNull": true, "defaultValue": "-1" }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": false }, { "fieldPath": "index", "columnName": "index", "affinity": "TEXT", "notNull": false }, { "fieldPath": "coverArt", "columnName": "coverArt", "affinity": "TEXT", "notNull": false }, { "fieldPath": "albumCount", "columnName": "albumCount", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "closeness", "columnName": "closeness", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id", "serverId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "albums", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `serverId` INTEGER NOT NULL DEFAULT -1, `parent` TEXT, `album` TEXT, `title` TEXT, `name` TEXT, `discNumber` INTEGER, `coverArt` TEXT, `songCount` INTEGER, `created` INTEGER, `artist` TEXT, `artistId` TEXT, `duration` INTEGER, `year` INTEGER, `genre` TEXT, `starred` INTEGER NOT NULL, `path` TEXT, `closeness` INTEGER NOT NULL, `isDirectory` INTEGER NOT NULL, `isVideo` INTEGER NOT NULL, PRIMARY KEY(`id`, `serverId`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "serverId", "columnName": "serverId", "affinity": "INTEGER", "notNull": true, "defaultValue": "-1" }, { "fieldPath": "parent", "columnName": "parent", "affinity": "TEXT", "notNull": false }, { "fieldPath": "album", "columnName": "album", "affinity": "TEXT", "notNull": false }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": false }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": false }, { "fieldPath": "discNumber", "columnName": "discNumber", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "coverArt", "columnName": "coverArt", "affinity": "TEXT", "notNull": false }, { "fieldPath": "songCount", "columnName": "songCount", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "created", "columnName": "created", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "artist", "columnName": "artist", "affinity": "TEXT", "notNull": false }, { "fieldPath": "artistId", "columnName": "artistId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "duration", "columnName": "duration", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "year", "columnName": "year", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "genre", "columnName": "genre", "affinity": "TEXT", "notNull": false }, { "fieldPath": "starred", "columnName": "starred", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "path", "columnName": "path", "affinity": "TEXT", "notNull": false }, { "fieldPath": "closeness", "columnName": "closeness", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isDirectory", "columnName": "isDirectory", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isVideo", "columnName": "isVideo", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id", "serverId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "tracks", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `serverId` INTEGER NOT NULL DEFAULT -1, `parent` TEXT, `isDirectory` INTEGER NOT NULL, `title` TEXT, `album` TEXT, `albumId` TEXT, `artist` TEXT, `artistId` TEXT, `track` INTEGER, `year` INTEGER, `genre` TEXT, `contentType` TEXT, `suffix` TEXT, `transcodedContentType` TEXT, `transcodedSuffix` TEXT, `coverArt` TEXT, `size` INTEGER, `songCount` INTEGER, `duration` INTEGER, `bitRate` INTEGER, `path` TEXT, `isVideo` INTEGER NOT NULL, `starred` INTEGER NOT NULL, `discNumber` INTEGER, `type` TEXT, `created` INTEGER, `closeness` INTEGER NOT NULL, `bookmarkPosition` INTEGER NOT NULL, `userRating` INTEGER, `averageRating` REAL, `name` TEXT, PRIMARY KEY(`id`, `serverId`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "serverId", "columnName": "serverId", "affinity": "INTEGER", "notNull": true, "defaultValue": "-1" }, { "fieldPath": "parent", "columnName": "parent", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isDirectory", "columnName": "isDirectory", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": false }, { "fieldPath": "album", "columnName": "album", "affinity": "TEXT", "notNull": false }, { "fieldPath": "albumId", "columnName": "albumId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "artist", "columnName": "artist", "affinity": "TEXT", "notNull": false }, { "fieldPath": "artistId", "columnName": "artistId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "track", "columnName": "track", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "year", "columnName": "year", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "genre", "columnName": "genre", "affinity": "TEXT", "notNull": false }, { "fieldPath": "contentType", "columnName": "contentType", "affinity": "TEXT", "notNull": false }, { "fieldPath": "suffix", "columnName": "suffix", "affinity": "TEXT", "notNull": false }, { "fieldPath": "transcodedContentType", "columnName": "transcodedContentType", "affinity": "TEXT", "notNull": false }, { "fieldPath": "transcodedSuffix", "columnName": "transcodedSuffix", "affinity": "TEXT", "notNull": false }, { "fieldPath": "coverArt", "columnName": "coverArt", "affinity": "TEXT", "notNull": false }, { "fieldPath": "size", "columnName": "size", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "songCount", "columnName": "songCount", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "duration", "columnName": "duration", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "bitRate", "columnName": "bitRate", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "path", "columnName": "path", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isVideo", "columnName": "isVideo", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "starred", "columnName": "starred", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "discNumber", "columnName": "discNumber", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "type", "columnName": "type", "affinity": "TEXT", "notNull": false }, { "fieldPath": "created", "columnName": "created", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "closeness", "columnName": "closeness", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "bookmarkPosition", "columnName": "bookmarkPosition", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "userRating", "columnName": "userRating", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "averageRating", "columnName": "averageRating", "affinity": "REAL", "notNull": false }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "id", "serverId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "indexes", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `serverId` INTEGER NOT NULL DEFAULT -1, `name` TEXT, `index` TEXT, `coverArt` TEXT, `albumCount` INTEGER, `closeness` INTEGER NOT NULL, `musicFolderId` TEXT, PRIMARY KEY(`id`, `serverId`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "serverId", "columnName": "serverId", "affinity": "INTEGER", "notNull": true, "defaultValue": "-1" }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": false }, { "fieldPath": "index", "columnName": "index", "affinity": "TEXT", "notNull": false }, { "fieldPath": "coverArt", "columnName": "coverArt", "affinity": "TEXT", "notNull": false }, { "fieldPath": "albumCount", "columnName": "albumCount", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "closeness", "columnName": "closeness", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "musicFolderId", "columnName": "musicFolderId", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "id", "serverId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "music_folders", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `serverId` INTEGER NOT NULL DEFAULT -1, `name` TEXT NOT NULL, PRIMARY KEY(`id`, `serverId`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "serverId", "columnName": "serverId", "affinity": "INTEGER", "notNull": true, "defaultValue": "-1" }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "id", "serverId" ], "autoGenerate": false }, "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, '95e83d6663a862c03ac46f9567453ded')" ] } }