From 0ad35b9b50dfaa1083f3f5acc633ec769bc10e37 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sun, 18 Apr 2021 16:25:48 +0400 Subject: Initial commit --- src/schema.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/schema.rs (limited to 'src/schema.rs') 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, + } +} -- cgit v1.2.3