9 lines
174 B
Rust
9 lines
174 B
Rust
table! {
|
|
posts (id) {
|
|
id -> Nullable<Integer>,
|
|
title -> Text,
|
|
body -> Text,
|
|
published -> Bool,
|
|
publish_date -> Timestamp,
|
|
}
|
|
}
|