dbic sync between actual db & our functions/docs (#595)
This commit is contained in:
14
share/schema_versions/App-Netdisco-DB-57-58-PostgreSQL.sql
Normal file
14
share/schema_versions/App-Netdisco-DB-57-58-PostgreSQL.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
BEGIN;
|
||||
|
||||
alter table device_port_wireless alter column ip set not null;
|
||||
alter table device_port_wireless alter column port set not null;
|
||||
alter table device_port_wireless add constraint device_port_wireless_pkey primary key (ip, port);
|
||||
|
||||
alter table device_port_ssid alter column ip set not null;
|
||||
alter table device_port_ssid alter column port set not null;
|
||||
alter table device_port_ssid alter column bssid set not null;
|
||||
alter table device_port_ssid add constraint device_port_ssid_pkey primary key (ip, bssid, port);
|
||||
|
||||
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user