adding basic presentation_model.rs

This commit is contained in:
Chris Cochrun 2023-04-06 20:44:04 -05:00
parent a71ead411f
commit 4f58d6e1fd
5 changed files with 337 additions and 2 deletions

View file

@ -13,8 +13,10 @@ diesel::table! {
presentations (id) {
id -> Integer,
title -> Text,
filePath -> Text,
pageCount -> Nullable<Integer>,
#[sql_name = "filePath"]
path -> Text,
#[sql_name = "pageCount"]
page_count -> Nullable<Integer>,
}
}