setting diesel up more
This commit is contained in:
parent
37a2dbd986
commit
caed6e6367
5 changed files with 10 additions and 11 deletions
|
@ -4,7 +4,8 @@ diesel::table! {
|
|||
images (id) {
|
||||
id -> Integer,
|
||||
title -> Text,
|
||||
filePath -> Text,
|
||||
#[sql_name = "filePath"]
|
||||
path -> Text,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -47,9 +48,4 @@ diesel::table! {
|
|||
}
|
||||
}
|
||||
|
||||
diesel::allow_tables_to_appear_in_same_query!(
|
||||
images,
|
||||
presentations,
|
||||
songs,
|
||||
videos,
|
||||
);
|
||||
diesel::allow_tables_to_appear_in_same_query!(images, presentations, songs, videos,);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue