Initial commit
This commit is contained in:
11
Example_src/Chapter1-10/bin/ch10/userinfo.sql
Normal file
11
Example_src/Chapter1-10/bin/ch10/userinfo.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
DROP TABLE IF EXISTS `userinfo`;
|
||||
CREATE TABLE `userinfo`
|
||||
(
|
||||
`userId` int(11) NOT NULL auto_increment,
|
||||
`loginname` varchar(20) default NULL,
|
||||
`password` varchar(10) default NULL,
|
||||
PRIMARY KEY (`userId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
INSERT INTO `userinfo` (`userId`, `loginname`, `password`)
|
||||
VALUES (1, 'admin', 'admin');
|
||||
Reference in New Issue
Block a user