2019-03-22 16:08:29 +00:00
{
"formatVersion" : 1 ,
"database" : {
"version" : 2 ,
2019-04-01 17:52:15 +00:00
"identityHash" : "81501115d10a6dc46002667323359631" ,
2019-03-22 16:08:29 +00:00
"entities" : [
{
"tableName" : "messages" ,
2019-04-01 17:52:15 +00:00
"createSql" : "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`messageID` TEXT NOT NULL, `type` INTEGER NOT NULL, `chatID` TEXT, `senderID` TEXT, `username` TEXT, `timestamp` INTEGER NOT NULL, `text` TEXT, `isSent` INTEGER NOT NULL, `isRead` INTEGER NOT NULL, PRIMARY KEY(`messageID`))" ,
2019-03-22 16:08:29 +00:00
"fields" : [
{
2019-04-01 17:52:15 +00:00
"fieldPath" : "messageID" ,
"columnName" : "messageID" ,
"affinity" : "TEXT" ,
2019-03-26 17:28:27 +00:00
"notNull" : true
} ,
{
"fieldPath" : "type" ,
"columnName" : "type" ,
"affinity" : "INTEGER" ,
2019-03-22 16:08:29 +00:00
"notNull" : true
} ,
{
"fieldPath" : "chatID" ,
"columnName" : "chatID" ,
"affinity" : "TEXT" ,
"notNull" : false
} ,
{
2019-04-01 17:52:15 +00:00
"fieldPath" : "senderID" ,
"columnName" : "senderID" ,
"affinity" : "TEXT" ,
"notNull" : false
} ,
{
"fieldPath" : "username" ,
"columnName" : "username" ,
2019-03-22 16:08:29 +00:00
"affinity" : "TEXT" ,
"notNull" : false
} ,
{
2019-03-26 17:28:27 +00:00
"fieldPath" : "timestamp" ,
"columnName" : "timestamp" ,
"affinity" : "INTEGER" ,
"notNull" : true
2019-03-22 16:08:29 +00:00
} ,
{
"fieldPath" : "text" ,
"columnName" : "text" ,
"affinity" : "TEXT" ,
"notNull" : false
2019-03-28 10:51:49 +00:00
} ,
{
"fieldPath" : "isSent" ,
"columnName" : "isSent" ,
"affinity" : "INTEGER" ,
"notNull" : true
} ,
{
"fieldPath" : "isRead" ,
"columnName" : "isRead" ,
"affinity" : "INTEGER" ,
"notNull" : true
2019-03-22 16:08:29 +00:00
}
] ,
"primaryKey" : {
"columnNames" : [
2019-04-01 17:52:15 +00:00
"messageID"
2019-03-22 16:08:29 +00:00
] ,
2019-04-01 17:52:15 +00:00
"autoGenerate" : false
2019-03-22 16:08:29 +00:00
} ,
"indices" : [ ] ,
"foreignKeys" : [ ]
} ,
{
"tableName" : "chats" ,
2019-04-01 17:52:15 +00:00
"createSql" : "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`chatID` TEXT NOT NULL, `name` TEXT, `metadataRef` TEXT, `membersRef` TEXT, `bannedUsers` TEXT, `chunkCursor` INTEGER NOT NULL, PRIMARY KEY(`chatID`))" ,
2019-03-22 16:08:29 +00:00
"fields" : [
{
"fieldPath" : "chatID" ,
"columnName" : "chatID" ,
"affinity" : "TEXT" ,
2019-04-01 17:52:15 +00:00
"notNull" : true
2019-03-22 16:08:29 +00:00
} ,
{
"fieldPath" : "name" ,
"columnName" : "name" ,
"affinity" : "TEXT" ,
"notNull" : false
} ,
{
2019-04-01 17:52:15 +00:00
"fieldPath" : "metadataRef" ,
"columnName" : "metadataRef" ,
"affinity" : "TEXT" ,
"notNull" : false
} ,
{
"fieldPath" : "membersRef" ,
"columnName" : "membersRef" ,
"affinity" : "TEXT" ,
2019-03-22 16:08:29 +00:00
"notNull" : false
} ,
{
2019-04-01 17:52:15 +00:00
"fieldPath" : "bannedUsers" ,
"columnName" : "bannedUsers" ,
2019-03-22 16:08:29 +00:00
"affinity" : "TEXT" ,
"notNull" : false
2019-04-01 17:52:15 +00:00
} ,
{
"fieldPath" : "chunkCursor" ,
"columnName" : "chunkCursor" ,
"affinity" : "INTEGER" ,
"notNull" : true
2019-03-22 16:08:29 +00:00
}
] ,
"primaryKey" : {
"columnNames" : [
2019-04-01 17:52:15 +00:00
"chatID"
2019-03-22 16:08:29 +00:00
] ,
2019-04-01 17:52:15 +00:00
"autoGenerate" : false
2019-03-22 16:08:29 +00:00
} ,
"indices" : [ ] ,
"foreignKeys" : [ ]
}
] ,
"views" : [ ] ,
"setupQueries" : [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)" ,
2019-04-01 17:52:15 +00:00
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"81501115d10a6dc46002667323359631\")"
2019-03-22 16:08:29 +00:00
]
}
}