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
...@@ -37,7 +37,7 @@ def SetupNestTables(postgres_username, postgres_password, port): ...@@ -37,7 +37,7 @@ def SetupNestTables(postgres_username, postgres_password, port):
cur.execute(''' cur.execute('''
CREATE TABLE nest_multimeter ( CREATE TABLE nest_multimeter (
id INT PRIMARY KEY NOT NULL UNIQUE, id INT PRIMARY KEY NOT NULL UNIQUE,
attribute VARCHAR(50) attributes VARCHAR(50) ARRAY
);''') );''')
cur.execute(''' cur.execute('''
...@@ -45,6 +45,9 @@ def SetupNestTables(postgres_username, postgres_password, port): ...@@ -45,6 +45,9 @@ def SetupNestTables(postgres_username, postgres_password, port):
id INT PRIMARY KEY NOT NULL UNIQUE, id INT PRIMARY KEY NOT NULL UNIQUE,
simulation_node_id INT, simulation_node_id INT,
population_id INT, population_id INT,
position_x FLOAT,
position_y FLOAT,
position_z FLOAT,
FOREIGN KEY (simulation_node_id) REFERENCES nest_simulation_node (id) 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.
Please register or to comment