summaryrefslogtreecommitdiff
path: root/src/schema.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-03-28 03:33:14 -0500
committertom barrett <spalf0@gmail.com>2019-03-28 07:24:51 -0500
commitf8c446ce74329fc5844e0fc1fd82e618242196f4 (patch)
tree02319b823da4888c6d4e2faa9f482be11caad353 /src/schema.rs
parentca5ee0b32b616fb8fa5e7e44c74acecefab719c3 (diff)
migrate and revert executable, query insert and delete test
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/schema.rs b/src/schema.rs
new file mode 100644
index 0000000..2bb43ed
--- /dev/null
+++ b/src/schema.rs
@@ -0,0 +1,13 @@
+table! {
+ masses (id) {
+ id -> Integer,
+ name -> Varchar,
+ pos_x -> Double,
+ pos_y -> Double,
+ pos_z -> Double,
+ vel_x -> Double,
+ vel_y -> Double,
+ vel_z -> Double,
+ type_data -> Jsonb,
+ }
+}