From 95b3508d2397b64c7c63bd3586e524998f194e36 Mon Sep 17 00:00:00 2001 From: tom barrett Date: Fri, 29 Mar 2019 11:21:02 -0500 Subject: just moved serde value to a string --- migrations/1_create_masses/up.sql | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'migrations/1_create_masses') diff --git a/migrations/1_create_masses/up.sql b/migrations/1_create_masses/up.sql index 67c3b3d..f666e09 100644 --- a/migrations/1_create_masses/up.sql +++ b/migrations/1_create_masses/up.sql @@ -1,11 +1,5 @@ CREATE TABLE masses ( id SERIAL PRIMARY KEY, name VARCHAR NOT NULL, - pos_x FLOAT NOT NULL, - pos_y DOUBLE PRECISION NOT NULL, - pos_z DOUBLE PRECISION NOT NULL, - vel_x DOUBLE PRECISION NOT NULL, - vel_y DOUBLE PRECISION NOT NULL, - vel_z DOUBLE PRECISION NOT NULL, - type_data JSONB NOT NULL + mass VARCHAR NOT NULL ) -- cgit v1.2.3