change archi and use schema routes
This commit is contained in:
1 parent
65db4d8b7e
commit
5b6995d6a6
14 files changed
+137
-46
No files matched your search
@@ -36,7 +36,6 @@ export async function createRoom(
|
||||
return await execQueryAsyncWithId(query, values);
|
||||
}
|
||||
|
||||
// todo date not good
|
||||
export async function registerMessageInRoom(messageId: number, roomId: number, idate: string | undefined | null) {
|
||||
if (!idate) idate = new Date().toString();
|
||||
const query = `INSERT IGNORE INTO app_room_message (message_id, room_id) VALUES (?, ?)`;
|
||||
|
||||
Reference in new issue
Block a user