This repository has been archived on 2024-07-18. You can view files and clone it, but cannot push or open issues or pull requests.
lwb5/sql/13-main-proxy.sql

26 lines
516 B
MySQL
Raw Permalink Normal View History

2016-01-10 11:01:49 +01:00
-- LegacyWorlds Beta 5
-- PostgreSQL database scripts
--
-- 13-main-proxy.sql
--
-- Table for open proxy detector's cache
--
-- Copyright(C) 2004-2007, DeepClone Development
-- --------------------------------------------------------
-- Connect to the database
\c legacyworlds legacyworlds_admin
--
-- Cache table
--
CREATE TABLE main.proxy_detector (
host VARCHAR(15) PRIMARY KEY,
last_check INT NOT NULL,
is_proxy BOOLEAN NOT NULL
);
GRANT SELECT,INSERT,DELETE ON main.proxy_detector TO legacyworlds;