Commit dd48fd58 authored by Timothy Stack's avatar Timothy Stack
Browse files

Add "fixed_x" and "fixed_y" fields to the cameras table which stores

the fixed point on the ground where the camera origin is in world
coordinates.
parent 2c48f60c
......@@ -31,6 +31,8 @@ CREATE TABLE cameras (
width float NOT NULL default '0',
height float NOT NULL default '0',
config tinytext,
fixed_x float NOT NULL default '0',
fixed_y float NOT NULL default '0',
PRIMARY KEY (name,building,floor)
) TYPE=MyISAM;
......@@ -839,7 +841,7 @@ CREATE TABLE new_interfaces (
switch_port tinyint(3) default NULL,
cable smallint(6) default NULL,
len tinyint(4) default NULL,
role tinytext default NULL,
role tinytext,
PRIMARY KEY (new_node_id,card)
) TYPE=MyISAM;
......
......@@ -2567,3 +2567,9 @@ last_net_act,last_cpu_act,last_ext_act);
alter table new_interfaces add role tinytext default NULL;
1.327: Add "fixed_x" and "fixed_y" fields to the cameras table which
stores the fixed point on the ground where the camera origin is
in world coordinates.
alter table cameras add fixed_x float NOT NULL default '0';
alter table cameras add fixed_y float NOT NULL default '0';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment