summaryrefslogtreecommitdiff
path: root/src/schema.rs
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-04-18 16:25:48 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-04-18 16:25:48 +0400
commit0ad35b9b50dfaa1083f3f5acc633ec769bc10e37 (patch)
tree4acfde7b0b09fb258002055a8d0e2d5e1a9c5c3e /src/schema.rs
Initial commit
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs8
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,
+ }
+}