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