verbings administration
This commit is contained in:
11
init.sql
11
init.sql
@@ -44,9 +44,9 @@ INSERT INTO `buildings` (`id`, `location_id`, `name`, `comment`) VALUES
|
||||
CREATE TABLE `connections` (
|
||||
`id` int(11) NOT NULL,
|
||||
`connection_type_id` int(11) NOT NULL,
|
||||
`port_a_type` enum('device','module','outlet') NOT NULL,
|
||||
`port_a_type` enum('device','module','outlet','patchpanel') NOT NULL,
|
||||
`port_a_id` int(11) NOT NULL,
|
||||
`port_b_type` enum('device','module','outlet') NOT NULL,
|
||||
`port_b_type` enum('device','module','outlet','patchpanel') NOT NULL,
|
||||
`port_b_id` int(11) NOT NULL,
|
||||
`vlan_config` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`vlan_config`)),
|
||||
`mode` varchar(50) DEFAULT NULL,
|
||||
@@ -70,6 +70,13 @@ CREATE TABLE `connection_types` (
|
||||
`comment` text DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci;
|
||||
|
||||
--
|
||||
-- Daten fuer Tabelle `connection_types`
|
||||
--
|
||||
|
||||
INSERT INTO `connection_types` (`id`, `name`, `medium`, `duplex`, `max_speed`, `color`, `line_style`, `comment`) VALUES
|
||||
(1, 'Default', 'copper', 'custom', NULL, NULL, 'solid', 'Auto-created default type');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user