feat: Chat request implementation #14
5 changed files with 5 additions and 13 deletions
|
@ -22,8 +22,7 @@
|
|||
use chrono::Utc;
|
||||
use sea_orm::entity::prelude::*;
|
||||
|
||||
use super::users::Entity as UserEntity;
|
||||
use crate::prelude::UserId;
|
||||
use crate::prelude::*;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|
||||
#[sea_orm(table_name = "blacklist")]
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
use chrono::Utc;
|
||||
use sea_orm::entity::prelude::*;
|
||||
|
||||
use super::users::Entity as UserEntity;
|
||||
use crate::prelude::UserId;
|
||||
use crate::prelude::*;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|
||||
#[sea_orm(table_name = "in_chat_requests")]
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
use chrono::Utc;
|
||||
use sea_orm::entity::prelude::*;
|
||||
|
||||
use super::users::Entity as UserEntity;
|
||||
use crate::prelude::UserId;
|
||||
use crate::prelude::*;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|
||||
#[sea_orm(table_name = "out_chat_requests")]
|
||||
|
|
|
@ -21,11 +21,7 @@
|
|||
|
||||
use sea_orm::entity::prelude::*;
|
||||
|
||||
use super::blacklist::Entity as BlacklistEntity;
|
||||
use super::incoming_chat_requests::Entity as InChatRequestsEntity;
|
||||
use super::outgoing_chat_requests::Entity as OutChatRequestsEntity;
|
||||
use super::whitelist::Entity as WhitelistEntity;
|
||||
use crate::prelude::UserId;
|
||||
use crate::prelude::*;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|
||||
#[sea_orm(table_name = "users")]
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
use chrono::Utc;
|
||||
use sea_orm::entity::prelude::*;
|
||||
|
||||
use super::users::Entity as UserEntity;
|
||||
use crate::prelude::UserId;
|
||||
use crate::prelude::*;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|
||||
#[sea_orm(table_name = "whitelist")]
|
||||
|
|
Loading…
Reference in a new issue