删除文件 www/cgi-bin/creat_table.sql
This commit is contained in:
parent
f0dd8df0d7
commit
f972b37e39
|
@ -1,20 +0,0 @@
|
||||||
-- 创建管理员登录表
|
|
||||||
CREATE database if NOT EXISTS router;
|
|
||||||
USE router;
|
|
||||||
-- 创建用户登录密码表
|
|
||||||
CREATE TABLE if not exists users (
|
|
||||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
|
||||||
username VARCHAR(50) NOT NULL,
|
|
||||||
password VARCHAR(255) NOT NULL
|
|
||||||
);
|
|
||||||
-- 创建ARP映射表
|
|
||||||
CREATE TABLE if not exists ip_mac(
|
|
||||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
|
||||||
ip VARCHAR(50) NOT NULL,
|
|
||||||
mac VARCHAR(50) NOT NULL
|
|
||||||
);
|
|
||||||
-- 创建防火墙表
|
|
||||||
CREATE TABLE if not exists ip_fw(
|
|
||||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
|
||||||
ip VARCHAR(50) NOT NULL
|
|
||||||
);
|
|
Loading…
Reference in New Issue