1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00

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