123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668 |
- {
- "formatVersion": 1,
- "database": {
- "version": 12,
- "identityHash": "d4d3d4c683ab7f681459b9edab92301c",
- "entities": [
- {
- "tableName": "TootEntity",
- "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `text` TEXT, `urls` TEXT, `descriptions` TEXT, `contentWarning` TEXT, `inReplyToId` TEXT, `inReplyToText` TEXT, `inReplyToUsername` TEXT, `visibility` INTEGER)",
- "fields": [
- {
- "fieldPath": "uid",
- "columnName": "uid",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "text",
- "columnName": "text",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "urls",
- "columnName": "urls",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "descriptions",
- "columnName": "descriptions",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "contentWarning",
- "columnName": "contentWarning",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "inReplyToId",
- "columnName": "inReplyToId",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "inReplyToText",
- "columnName": "inReplyToText",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "inReplyToUsername",
- "columnName": "inReplyToUsername",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "visibility",
- "columnName": "visibility",
- "affinity": "INTEGER",
- "notNull": false
- }
- ],
- "primaryKey": {
- "columnNames": [
- "uid"
- ],
- "autoGenerate": true
- },
- "indices": [],
- "foreignKeys": []
- },
- {
- "tableName": "AccountEntity",
- "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `domain` TEXT NOT NULL, `accessToken` TEXT NOT NULL, `isActive` INTEGER NOT NULL, `accountId` TEXT NOT NULL, `username` TEXT NOT NULL, `displayName` TEXT NOT NULL, `profilePictureUrl` TEXT NOT NULL, `notificationsEnabled` INTEGER NOT NULL, `notificationsMentioned` INTEGER NOT NULL, `notificationsFollowed` INTEGER NOT NULL, `notificationsReblogged` INTEGER NOT NULL, `notificationsFavorited` INTEGER NOT NULL, `notificationSound` INTEGER NOT NULL, `notificationVibration` INTEGER NOT NULL, `notificationLight` INTEGER NOT NULL, `defaultPostPrivacy` INTEGER NOT NULL, `defaultMediaSensitivity` INTEGER NOT NULL, `alwaysShowSensitiveMedia` INTEGER NOT NULL, `mediaPreviewEnabled` INTEGER NOT NULL, `lastNotificationId` TEXT NOT NULL, `activeNotifications` TEXT NOT NULL, `emojis` TEXT NOT NULL, `tabPreferences` TEXT NOT NULL)",
- "fields": [
- {
- "fieldPath": "id",
- "columnName": "id",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "domain",
- "columnName": "domain",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "accessToken",
- "columnName": "accessToken",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "isActive",
- "columnName": "isActive",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "accountId",
- "columnName": "accountId",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "username",
- "columnName": "username",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "displayName",
- "columnName": "displayName",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "profilePictureUrl",
- "columnName": "profilePictureUrl",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "notificationsEnabled",
- "columnName": "notificationsEnabled",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "notificationsMentioned",
- "columnName": "notificationsMentioned",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "notificationsFollowed",
- "columnName": "notificationsFollowed",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "notificationsReblogged",
- "columnName": "notificationsReblogged",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "notificationsFavorited",
- "columnName": "notificationsFavorited",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "notificationSound",
- "columnName": "notificationSound",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "notificationVibration",
- "columnName": "notificationVibration",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "notificationLight",
- "columnName": "notificationLight",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "defaultPostPrivacy",
- "columnName": "defaultPostPrivacy",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "defaultMediaSensitivity",
- "columnName": "defaultMediaSensitivity",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "alwaysShowSensitiveMedia",
- "columnName": "alwaysShowSensitiveMedia",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "mediaPreviewEnabled",
- "columnName": "mediaPreviewEnabled",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastNotificationId",
- "columnName": "lastNotificationId",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "activeNotifications",
- "columnName": "activeNotifications",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "emojis",
- "columnName": "emojis",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "tabPreferences",
- "columnName": "tabPreferences",
- "affinity": "TEXT",
- "notNull": true
- }
- ],
- "primaryKey": {
- "columnNames": [
- "id"
- ],
- "autoGenerate": true
- },
- "indices": [
- {
- "name": "index_AccountEntity_domain_accountId",
- "unique": true,
- "columnNames": [
- "domain",
- "accountId"
- ],
- "createSql": "CREATE UNIQUE INDEX `index_AccountEntity_domain_accountId` ON `${TABLE_NAME}` (`domain`, `accountId`)"
- }
- ],
- "foreignKeys": []
- },
- {
- "tableName": "InstanceEntity",
- "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`instance` TEXT NOT NULL, `emojiList` TEXT, `maximumTootCharacters` INTEGER, PRIMARY KEY(`instance`))",
- "fields": [
- {
- "fieldPath": "instance",
- "columnName": "instance",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "emojiList",
- "columnName": "emojiList",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "maximumTootCharacters",
- "columnName": "maximumTootCharacters",
- "affinity": "INTEGER",
- "notNull": false
- }
- ],
- "primaryKey": {
- "columnNames": [
- "instance"
- ],
- "autoGenerate": false
- },
- "indices": [],
- "foreignKeys": []
- },
- {
- "tableName": "TimelineStatusEntity",
- "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`serverId` TEXT NOT NULL, `url` TEXT, `timelineUserId` INTEGER NOT NULL, `authorServerId` TEXT, `instance` TEXT, `inReplyToId` TEXT, `inReplyToAccountId` TEXT, `content` TEXT, `createdAt` INTEGER NOT NULL, `emojis` TEXT, `reblogsCount` INTEGER NOT NULL, `favouritesCount` INTEGER NOT NULL, `reblogged` INTEGER NOT NULL, `favourited` INTEGER NOT NULL, `sensitive` INTEGER NOT NULL, `spoilerText` TEXT, `visibility` INTEGER, `attachments` TEXT, `mentions` TEXT, `application` TEXT, `reblogServerId` TEXT, `reblogAccountId` TEXT, PRIMARY KEY(`serverId`, `timelineUserId`), FOREIGN KEY(`authorServerId`, `timelineUserId`) REFERENCES `TimelineAccountEntity`(`serverId`, `timelineUserId`) ON UPDATE NO ACTION ON DELETE NO ACTION )",
- "fields": [
- {
- "fieldPath": "serverId",
- "columnName": "serverId",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "url",
- "columnName": "url",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "timelineUserId",
- "columnName": "timelineUserId",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "authorServerId",
- "columnName": "authorServerId",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "instance",
- "columnName": "instance",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "inReplyToId",
- "columnName": "inReplyToId",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "inReplyToAccountId",
- "columnName": "inReplyToAccountId",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "content",
- "columnName": "content",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "createdAt",
- "columnName": "createdAt",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "emojis",
- "columnName": "emojis",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "reblogsCount",
- "columnName": "reblogsCount",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "favouritesCount",
- "columnName": "favouritesCount",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "reblogged",
- "columnName": "reblogged",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "favourited",
- "columnName": "favourited",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "sensitive",
- "columnName": "sensitive",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "spoilerText",
- "columnName": "spoilerText",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "visibility",
- "columnName": "visibility",
- "affinity": "INTEGER",
- "notNull": false
- },
- {
- "fieldPath": "attachments",
- "columnName": "attachments",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "mentions",
- "columnName": "mentions",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "application",
- "columnName": "application",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "reblogServerId",
- "columnName": "reblogServerId",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "reblogAccountId",
- "columnName": "reblogAccountId",
- "affinity": "TEXT",
- "notNull": false
- }
- ],
- "primaryKey": {
- "columnNames": [
- "serverId",
- "timelineUserId"
- ],
- "autoGenerate": false
- },
- "indices": [
- {
- "name": "index_TimelineStatusEntity_authorServerId_timelineUserId",
- "unique": false,
- "columnNames": [
- "authorServerId",
- "timelineUserId"
- ],
- "createSql": "CREATE INDEX `index_TimelineStatusEntity_authorServerId_timelineUserId` ON `${TABLE_NAME}` (`authorServerId`, `timelineUserId`)"
- }
- ],
- "foreignKeys": [
- {
- "table": "TimelineAccountEntity",
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "columns": [
- "authorServerId",
- "timelineUserId"
- ],
- "referencedColumns": [
- "serverId",
- "timelineUserId"
- ]
- }
- ]
- },
- {
- "tableName": "TimelineAccountEntity",
- "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`serverId` TEXT NOT NULL, `timelineUserId` INTEGER NOT NULL, `instance` TEXT NOT NULL, `localUsername` TEXT NOT NULL, `username` TEXT NOT NULL, `displayName` TEXT NOT NULL, `url` TEXT NOT NULL, `avatar` TEXT NOT NULL, `emojis` TEXT NOT NULL, PRIMARY KEY(`serverId`, `timelineUserId`))",
- "fields": [
- {
- "fieldPath": "serverId",
- "columnName": "serverId",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "timelineUserId",
- "columnName": "timelineUserId",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "instance",
- "columnName": "instance",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "localUsername",
- "columnName": "localUsername",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "username",
- "columnName": "username",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "displayName",
- "columnName": "displayName",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "url",
- "columnName": "url",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "avatar",
- "columnName": "avatar",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "emojis",
- "columnName": "emojis",
- "affinity": "TEXT",
- "notNull": true
- }
- ],
- "primaryKey": {
- "columnNames": [
- "serverId",
- "timelineUserId"
- ],
- "autoGenerate": false
- },
- "indices": [],
- "foreignKeys": []
- },
- {
- "tableName": "ConversationEntity",
- "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`accountId` INTEGER NOT NULL, `id` TEXT NOT NULL, `accounts` TEXT NOT NULL, `unread` INTEGER NOT NULL, `s_id` TEXT NOT NULL, `s_url` TEXT, `s_inReplyToId` TEXT, `s_inReplyToAccountId` TEXT, `s_account` TEXT NOT NULL, `s_content` TEXT NOT NULL, `s_createdAt` INTEGER NOT NULL, `s_emojis` TEXT NOT NULL, `s_favouritesCount` INTEGER NOT NULL, `s_favourited` INTEGER NOT NULL, `s_sensitive` INTEGER NOT NULL, `s_spoilerText` TEXT NOT NULL, `s_attachments` TEXT NOT NULL, `s_mentions` TEXT NOT NULL, `s_showingHiddenContent` INTEGER NOT NULL, `s_expanded` INTEGER NOT NULL, `s_collapsible` INTEGER NOT NULL, `s_collapsed` INTEGER NOT NULL, PRIMARY KEY(`id`, `accountId`))",
- "fields": [
- {
- "fieldPath": "accountId",
- "columnName": "accountId",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "id",
- "columnName": "id",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "accounts",
- "columnName": "accounts",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "unread",
- "columnName": "unread",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.id",
- "columnName": "s_id",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.url",
- "columnName": "s_url",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "lastStatus.inReplyToId",
- "columnName": "s_inReplyToId",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "lastStatus.inReplyToAccountId",
- "columnName": "s_inReplyToAccountId",
- "affinity": "TEXT",
- "notNull": false
- },
- {
- "fieldPath": "lastStatus.account",
- "columnName": "s_account",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.content",
- "columnName": "s_content",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.createdAt",
- "columnName": "s_createdAt",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.emojis",
- "columnName": "s_emojis",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.favouritesCount",
- "columnName": "s_favouritesCount",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.favourited",
- "columnName": "s_favourited",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.sensitive",
- "columnName": "s_sensitive",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.spoilerText",
- "columnName": "s_spoilerText",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.attachments",
- "columnName": "s_attachments",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.mentions",
- "columnName": "s_mentions",
- "affinity": "TEXT",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.showingHiddenContent",
- "columnName": "s_showingHiddenContent",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.expanded",
- "columnName": "s_expanded",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.collapsible",
- "columnName": "s_collapsible",
- "affinity": "INTEGER",
- "notNull": true
- },
- {
- "fieldPath": "lastStatus.collapsed",
- "columnName": "s_collapsed",
- "affinity": "INTEGER",
- "notNull": true
- }
- ],
- "primaryKey": {
- "columnNames": [
- "id",
- "accountId"
- ],
- "autoGenerate": false
- },
- "indices": [],
- "foreignKeys": []
- }
- ],
- "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, \"d4d3d4c683ab7f681459b9edab92301c\")"
- ]
- }
- }
|