From 12a0a904edcd4fda9ba10b51f74b37df302fd7b6 Mon Sep 17 00:00:00 2001 From: Simon Oehrl <oehrl@vr.rwth-aachen.de> Date: Tue, 24 Mar 2020 11:49:55 +0100 Subject: [PATCH] Change position to array --- access_node/__main__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/access_node/__main__.py b/access_node/__main__.py index 55a848e..b701c9f 100644 --- a/access_node/__main__.py +++ b/access_node/__main__.py @@ -45,9 +45,7 @@ def SetupNestTables(postgres_username, postgres_password, port): id INT PRIMARY KEY NOT NULL UNIQUE, simulation_node_id INT, population_id INT, - position_x FLOAT, - position_y FLOAT, - position_z FLOAT, + position FLOAT[], FOREIGN KEY (simulation_node_id) REFERENCES nest_simulation_node (id) );''') -- GitLab