Subversion Repositories computer_asset_manager_v1

Rev

Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
create table network_connection (
2
   network_connection_id   int unsigned not null auto-increment,
3
   connector_id   varchar(20) default null comment 'Use this to put things like cable number',
4
   source_device  int unsigned not null comment 'ID of the source device',
5
   source_port    varchar(20) comment 'Things like eth0, or port 1 for switches',
6
   target_device  int unsigned not null comment 'ID of target device',
7
   target_port    varchar(20) comment 'Things like eth0, or port 1 for switches',
8
   created_date   datetime,
9
   removed_date   datetime,
10
   primary key    (network_connection_id)
11
) comment 'Stores information about network connections between devices';
12
 
13
 
14
insert into network_connection select null,'Cable 09',