Remove debug impl from database structs

This is only implemented for the database specific structs, which is not what we want
This commit is contained in:
Daniel García
2021-03-13 22:04:04 +01:00
parent 431462d839
commit ce62e898c3
10 changed files with 15 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ use crate::crypto;
use crate::CONFIG;
db_object! {
#[derive(Debug, Identifiable, Queryable, Insertable, AsChangeset)]
#[derive(Identifiable, Queryable, Insertable, AsChangeset)]
#[table_name = "users"]
#[changeset_options(treat_none_as_null="true")]
#[primary_key(uuid)]
@@ -47,7 +47,7 @@ db_object! {
}
#[derive(Debug, Identifiable, Queryable, Insertable)]
#[derive(Identifiable, Queryable, Insertable)]
#[table_name = "invitations"]
#[primary_key(email)]
pub struct Invitation {