Implement Database::create_room
This commit is contained in:
parent
db1d93576f
commit
aebc6326a9
2 changed files with 21 additions and 28 deletions
|
@ -2,7 +2,7 @@ use super::RoomId;
|
|||
use sea_orm::entity::prelude::*;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel)]
|
||||
#[sea_orm(table_name = "room_participants")]
|
||||
#[sea_orm(table_name = "rooms")]
|
||||
pub struct Model {
|
||||
#[sea_orm(primary_key)]
|
||||
pub id: RoomId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue