Updated database to reflect changes made

my_ilders.sql reflects updater.sql
This commit is contained in:
cp6 2021-01-29 11:38:52 +11:00
parent 910ff94b14
commit c67ae671e4

View File

@ -299,7 +299,7 @@ CREATE TABLE IF NOT EXISTS `servers`
`ns1` varchar(124) DEFAULT NULL, `ns1` varchar(124) DEFAULT NULL,
`ns2` varchar(124) DEFAULT NULL, `ns2` varchar(124) DEFAULT NULL,
`virt` varchar(4) DEFAULT NULL, `virt` varchar(4) DEFAULT NULL,
`cpu` int(11) DEFAULT '1', `cpu` int(11) DEFAULT 1,
`cpu_type` varchar(124) DEFAULT NULL, `cpu_type` varchar(124) DEFAULT NULL,
`cpu_freq` float DEFAULT NULL, `cpu_freq` float DEFAULT NULL,
`ram` float DEFAULT NULL, `ram` float DEFAULT NULL,
@ -311,23 +311,24 @@ CREATE TABLE IF NOT EXISTS `servers`
`disk` int(11) DEFAULT NULL, `disk` int(11) DEFAULT NULL,
`disk_gb` int(11) DEFAULT NULL, `disk_gb` int(11) DEFAULT NULL,
`disk_type` char(2) DEFAULT 'GB', `disk_type` char(2) DEFAULT 'GB',
`bandwidth` int(11) DEFAULT NULL, `bandwidth` float DEFAULT NULL,
`bandwidth_type` char(2) DEFAULT 'TB', `bandwidth_type` char(2) DEFAULT 'TB',
`gb5_single` int(11) DEFAULT NULL, `gb5_single` int(11) DEFAULT NULL,
`gb5_multi` int(11) DEFAULT NULL, `gb5_multi` int(11) DEFAULT NULL,
`gb5_id` varchar(12) DEFAULT NULL, `gb5_id` varchar(12) DEFAULT NULL,
`aes_ni` tinyint(1) DEFAULT '0', `aes_ni` tinyint(1) DEFAULT 0,
`amd_v` tinyint(1) DEFAULT '0', `amd_v` tinyint(1) DEFAULT 0,
`is_dedicated` tinyint(1) DEFAULT '0', `is_dedicated` tinyint(1) DEFAULT 0,
`is_cpu_dedicated` tinyint(1) DEFAULT '0', `is_cpu_dedicated` tinyint(1) DEFAULT 0,
`was_special` tinyint(1) DEFAULT '0', `was_special` tinyint(1) DEFAULT 0,
`os` int(11) DEFAULT NULL, `os` int(11) DEFAULT NULL,
`ssh_port` int(11) DEFAULT '22', `ssh_port` int(11) DEFAULT 22,
`still_have` tinyint(1) DEFAULT '1', `still_have` tinyint(1) DEFAULT 1,
`owned_since` date DEFAULT NULL, `owned_since` date DEFAULT NULL,
`tags` varchar(255) DEFAULT NULL, `tags` varchar(255) DEFAULT NULL,
`notes` varchar(255) DEFAULT NULL, `notes` varchar(255) DEFAULT NULL,
`has_yabs` tinyint(1) DEFAULT '0', `has_yabs` tinyint(1) DEFAULT 0,
`has_st` tinyint(1) DEFAULT 0,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
UNIQUE KEY `Index 2` (`ipv4`, `hostname`, `ipv6`) UNIQUE KEY `Index 2` (`ipv4`, `hostname`, `ipv6`)
) ENGINE = InnoDB ) ENGINE = InnoDB