Update SeaORM entities and remove warning exception.

This commit is contained in:
Bauke 2023-06-10 13:15:33 +02:00
parent 173e4f89a0
commit d669bef623
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
5 changed files with 7 additions and 7 deletions

View File

@ -1,8 +1,8 @@
//! SeaORM Entity. Generated by sea-orm-codegen 0.9.3 //! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.3
use sea_orm::entity::prelude::*; use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel)] #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "group_data")] #[sea_orm(table_name = "group_data")]
pub struct Model { pub struct Model {
#[sea_orm(primary_key)] #[sea_orm(primary_key)]

View File

@ -1,4 +1,4 @@
//! SeaORM Entity. Generated by sea-orm-codegen 0.9.3 //! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.3
pub mod prelude; pub mod prelude;

View File

@ -1,4 +1,4 @@
//! SeaORM Entity. Generated by sea-orm-codegen 0.9.3 //! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.3
pub use super::group_data::Entity as GroupData; pub use super::group_data::Entity as GroupData;
pub use super::snapshot::Entity as Snapshot; pub use super::snapshot::Entity as Snapshot;

View File

@ -1,8 +1,8 @@
//! SeaORM Entity. Generated by sea-orm-codegen 0.9.3 //! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.3
use sea_orm::entity::prelude::*; use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel)] #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "snapshot")] #[sea_orm(table_name = "snapshot")]
pub struct Model { pub struct Model {
#[sea_orm(primary_key)] #[sea_orm(primary_key)]

View File

@ -27,7 +27,7 @@ pub mod utilities;
/// ``` /// ```
/// sea-orm-cli generate entity -o source/entities /// sea-orm-cli generate entity -o source/entities
/// ``` /// ```
#[allow(missing_docs, clippy::derive_partial_eq_without_eq)] #[allow(missing_docs)]
pub mod entities; pub mod entities;
/// The main function. /// The main function.