Files
Aurora.3/SQL/migrate/V003__Ipintel.sql
skull132 7039840323 Implements IPIntel, Panic Bunker, and custom access control (#2436)
What it says on the tin.

IPIntel and BYOND account age relating panic bunker settings from TG. Also implements methods for potentially tagging VM users. Ontop of all of this, creates a spiffy UI for admins with R_SERVER to adjust the settings of the entire suite at runtime.
2017-05-26 13:26:58 +03:00

15 lines
433 B
SQL

--
-- Adds the IP intel database table.
--
CREATE TABLE `ss13_ipintel` (
`ip` varbinary(16) NOT NULL,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`intel` double NOT NULL DEFAULT '0',
PRIMARY KEY (`ip`),
KEY `idx_ipintel` (`ip`,`intel`,`date`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `ss13_player`
ADD `account_join_date` DATE NULL DEFAULT NULL AFTER `whitelist_status`;