diff options
Diffstat (limited to 'src/schema.rs')
| -rw-r--r-- | src/schema.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/schema.rs b/src/schema.rs new file mode 100644 index 0000000..d4dc4f4 --- /dev/null +++ b/src/schema.rs @@ -0,0 +1,8 @@ +table! { + posts (id) { + id -> Integer, + title -> Text, + body -> Text, + published -> Bool, + } +} |