Skip to content
Snippets Groups Projects
Commit 9bc4bb75 authored by Simon Oehrl's avatar Simon Oehrl
Browse files

Add position to nest_neuron table and make attributes an array

parent 274830ca
No related branches found
No related tags found
1 merge request!4Feature/add arbor support
......@@ -36,8 +36,8 @@ def SetupNestTables(postgres_username, postgres_password, port):
cur.execute('''
CREATE TABLE nest_multimeter (
id INT PRIMARY KEY NOT NULL UNIQUE,
attribute VARCHAR(50)
id INT PRIMARY KEY NOT NULL UNIQUE,
attributes VARCHAR(50) ARRAY
);''')
cur.execute('''
......@@ -45,6 +45,9 @@ 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,
FOREIGN KEY (simulation_node_id) REFERENCES nest_simulation_node (id)
);''')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment