Commit aa5d4754 by zhangchengbo

fix:修改SQL查询语句

parent 6d5a1a8d
......@@ -2,11 +2,11 @@
"formatVersion": 1,
"database": {
"version": 8,
"identityHash": "23811e41b338a810cf5df26a5dff67a5",
"identityHash": "177e5b1c59b8f1f208da73418d4a933b",
"entities": [
{
"tableName": "conversations",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`thread_id` INTEGER NOT NULL, `snippet` TEXT NOT NULL, `date` INTEGER NOT NULL, `read` INTEGER NOT NULL, `title` TEXT NOT NULL, `photo_uri` TEXT NOT NULL, `is_group_conversation` INTEGER NOT NULL, `phone_number` TEXT NOT NULL, `is_scheduled` INTEGER NOT NULL, `uses_custom_title` INTEGER NOT NULL, `archived` INTEGER NOT NULL, PRIMARY KEY(`thread_id`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`thread_id` INTEGER NOT NULL, `snippet` TEXT NOT NULL, `date` INTEGER NOT NULL, `read` INTEGER NOT NULL, `title` TEXT NOT NULL, `photo_uri` TEXT NOT NULL, `is_group_conversation` INTEGER NOT NULL, `phone_number` TEXT NOT NULL, `is_scheduled` INTEGER NOT NULL, `uses_custom_title` INTEGER NOT NULL, `archived` INTEGER NOT NULL, `isSFNumber` INTEGER NOT NULL, PRIMARY KEY(`thread_id`))",
"fields": [
{
"fieldPath": "threadId",
......@@ -73,6 +73,12 @@
"columnName": "archived",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "isSFNumber",
"columnName": "isSFNumber",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
......@@ -336,7 +342,7 @@
"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, '23811e41b338a810cf5df26a5dff67a5')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '177e5b1c59b8f1f208da73418d4a933b')"
]
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment