diff options
author | tom barrett <spalf0@gmail.com> | 2019-03-29 11:21:02 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2019-03-29 11:21:02 -0500 |
commit | 95b3508d2397b64c7c63bd3586e524998f194e36 (patch) | |
tree | 494a55b9d1bc41212b05094ce26237efab5e80cd /migrations | |
parent | 4576a80954d57bf2cb8ab3d99b73b75b84b2ce02 (diff) |
just moved serde value to a string
Diffstat (limited to 'migrations')
-rw-r--r-- | migrations/1_create_masses/up.sql | 8 |
1 files changed, 1 insertions, 7 deletions
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 ) |