mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Allow wildcard imports in schema.rs (#3293)
Dont mess with auto-generated code, this avoids problems with clippy after running diesel commands
This commit is contained in:
parent
c5886404ef
commit
ddfa112e0b
@ -26,6 +26,7 @@ pub mod impls;
|
|||||||
pub mod newtypes;
|
pub mod newtypes;
|
||||||
#[cfg(feature = "full")]
|
#[cfg(feature = "full")]
|
||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
|
#[allow(clippy::wildcard_imports)]
|
||||||
pub mod schema;
|
pub mod schema;
|
||||||
pub mod source;
|
pub mod source;
|
||||||
#[cfg(feature = "full")]
|
#[cfg(feature = "full")]
|
||||||
|
@ -65,7 +65,7 @@ diesel::table! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
diesel::table! {
|
diesel::table! {
|
||||||
use diesel::sql_types::{Bool, Int4, Nullable, Text, Timestamp, Varchar};
|
use diesel::sql_types::*;
|
||||||
use diesel_ltree::sql_types::Ltree;
|
use diesel_ltree::sql_types::Ltree;
|
||||||
|
|
||||||
comment (id) {
|
comment (id) {
|
||||||
@ -317,7 +317,7 @@ diesel::table! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
diesel::table! {
|
diesel::table! {
|
||||||
use diesel::sql_types::{Bool, Int4, Nullable, Text, Timestamp, Varchar};
|
use diesel::sql_types::*;
|
||||||
use super::sql_types::ListingTypeEnum;
|
use super::sql_types::ListingTypeEnum;
|
||||||
use super::sql_types::RegistrationModeEnum;
|
use super::sql_types::RegistrationModeEnum;
|
||||||
|
|
||||||
@ -371,7 +371,7 @@ diesel::table! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
diesel::table! {
|
diesel::table! {
|
||||||
use diesel::sql_types::{Bool, Int4, Nullable, Text, Timestamp, Varchar};
|
use diesel::sql_types::*;
|
||||||
use super::sql_types::SortTypeEnum;
|
use super::sql_types::SortTypeEnum;
|
||||||
use super::sql_types::ListingTypeEnum;
|
use super::sql_types::ListingTypeEnum;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user