|
@@ -15,7 +15,6 @@ import java.util.List;
|
|
|
*/
|
|
*/
|
|
|
public class SQLiteRawUtil {
|
|
public class SQLiteRawUtil {
|
|
|
public static final String CHAT_MESSAGE_TABLE_PREFIX = "msg_";
|
|
public static final String CHAT_MESSAGE_TABLE_PREFIX = "msg_";
|
|
|
-
|
|
|
|
|
public static String getCreateChatMessageTableSql(String tableName) {
|
|
public static String getCreateChatMessageTableSql(String tableName) {
|
|
|
String sql = "CREATE TABLE IF NOT EXISTS "
|
|
String sql = "CREATE TABLE IF NOT EXISTS "
|
|
|
+ tableName
|
|
+ tableName
|
|
@@ -64,7 +63,7 @@ public class SQLiteRawUtil {
|
|
|
* 获取当前用户的消息表
|
|
* 获取当前用户的消息表
|
|
|
*
|
|
*
|
|
|
* @param db
|
|
* @param db
|
|
|
- * @param tableName
|
|
|
|
|
|
|
+ * @param
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
public static List<String> getUserChatMessageTables(SQLiteDatabase db, String ownerId) {
|
|
public static List<String> getUserChatMessageTables(SQLiteDatabase db, String ownerId) {
|