feat: add diesel, but not works

This commit is contained in:
2021-02-12 23:06:29 +08:00
parent d383b36f00
commit fb84b0f85e
12 changed files with 193 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
table! {
posts (id) {
id -> Nullable<Integer>,
title -> Text,
body -> Text,
published -> Bool,
}
}