save message sync

This commit is contained in:
grimhilt
2023-03-15 14:48:15 +01:00
parent 3e029a26d4
commit 520eb95d37
5 changed files with 145 additions and 244 deletions

View File

@@ -139,3 +139,19 @@ create table app_accounts (
tls int(1) not null default 0,
primary key (id)
);
create table app_rooms (
id int not null auto_increment,
name text not null,
owner int not null,
isGroup BIT(1) not null default 0,
notSeen int not null default 0,
lastUpdate timestamp not null,
primary key (id)
);
create table app_room_messages (
message int [not null]
room int,
primary key()
)