12 lines
221 B
Rust
12 lines
221 B
Rust
|
table! {
|
||
|
posts (id) {
|
||
|
id -> Integer,
|
||
|
parent -> Nullable<Integer>,
|
||
|
timestamp -> Timestamp,
|
||
|
author -> Text,
|
||
|
email -> Text,
|
||
|
title -> Text,
|
||
|
content -> Text,
|
||
|
}
|
||
|
}
|