|
|
@ -86,7 +86,7 @@ CREATE TABLE subnetvlan ( |
|
|
|
CREATE TABLE user ( |
|
|
|
CREATE TABLE user ( |
|
|
|
user_id int(10) NOT NULL AUTO_INCREMENT, |
|
|
|
user_id int(10) NOT NULL AUTO_INCREMENT, |
|
|
|
user_name varchar(100) NOT NULL, |
|
|
|
user_name varchar(100) NOT NULL, |
|
|
|
user_pass varchar(32) NOT NULL, |
|
|
|
user_pass binary(60) NOT NULL, |
|
|
|
user_displayname varchar(100) NOT NULL, |
|
|
|
user_displayname varchar(100) NOT NULL, |
|
|
|
user_language char(2) NOT NULL DEFAULT 'en', |
|
|
|
user_language char(2) NOT NULL DEFAULT 'en', |
|
|
|
user_imagesize int(3) NOT NULL DEFAULT 6, |
|
|
|
user_imagesize int(3) NOT NULL DEFAULT 6, |
|
|
@ -110,7 +110,7 @@ CREATE TABLE user ( |
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO user (user_name, user_pass, user_displayname) VALUES |
|
|
|
INSERT INTO user (user_name, user_pass, user_displayname) VALUES |
|
|
|
('admin', '21232f297a57a5a743894a0e4a801fc3', 'administrator'); |
|
|
|
('admin', '$2y$10$HTs0lSaFrfr.q4Gmy5zWfeDg3jhYZkqEGZEnDkMiHZ641nso38mt6', 'Administrator'); |
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE vlan ( |
|
|
|
CREATE TABLE vlan ( |
|
|
|
vlan_id int(10) NOT NULL AUTO_INCREMENT, |
|
|
|
vlan_id int(10) NOT NULL AUTO_INCREMENT, |
|
|
|