重新上传数据库
This commit is contained in:
parent
c1f12c8f16
commit
f993cd14d2
|
@ -1,6 +1,6 @@
|
||||||
INSERT INTO users (username, password)
|
INSERT INTO users (username, password)
|
||||||
VALUES ('admin', 'admin');
|
VALUES ('admin', 'admin');
|
||||||
INSERT INTO ip_mac (username, password)
|
INSERT INTO ip_mac (ip, mac)
|
||||||
VALUES ('192.168.0.125', '00:0C:CF:93:8C:92');
|
VALUES ('192.168.0.125', '00:0C:CF:93:8C:92');
|
||||||
INSERT INTO ip_mac (username, password)
|
INSERT INTO ip_mac (ip, mac)
|
||||||
VALUES ('192.168.0.117', '08:00:20:0A:8C:6D');
|
VALUES ('192.168.0.117', '08:00:20:0A:8C:6D');
|
|
@ -7,8 +7,6 @@ CREATE TABLE if not exists users (
|
||||||
username VARCHAR(50) NOT NULL,
|
username VARCHAR(50) NOT NULL,
|
||||||
password VARCHAR(255) NOT NULL
|
password VARCHAR(255) NOT NULL
|
||||||
);
|
);
|
||||||
INSERT INTO users (username, password)
|
|
||||||
VALUES ('admin', 'admin');
|
|
||||||
-- 创建ARP映射表
|
-- 创建ARP映射表
|
||||||
CREATE TABLE if not exists ip_mac(
|
CREATE TABLE if not exists ip_mac(
|
||||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
|
Loading…
Reference in New Issue