mirror of
https://github.com/dyiop/astute.git
synced 2025-04-05 13:00:16 -04:00
Updated table user, changed username and password to be blob instead of string
This commit is contained in:
parent
14c60bde23
commit
66fe4c6bd0
|
@ -793,10 +793,10 @@ BEGIN
|
|||
END;
|
||||
|
||||
-- Dumping structure for table astute.user
|
||||
CREATE TABLE IF NOT EXISTS `user` (
|
||||
CREATE TABLE `user` (
|
||||
`user_id` int(5) NOT NULL,
|
||||
`username` varchar(20) DEFAULT NULL,
|
||||
`password` varchar(20) DEFAULT NULL,
|
||||
`username` blob,
|
||||
`password` blob,
|
||||
`first_name` varchar(20) DEFAULT NULL,
|
||||
`middle_name` varchar(20) DEFAULT NULL,
|
||||
`last_name` varchar(20) DEFAULT NULL,
|
||||
|
@ -812,7 +812,7 @@ CREATE TABLE IF NOT EXISTS `user` (
|
|||
INSERT INTO `user` (`user_id`, `username`, `password`, `first_name`, `middle_name`, `last_name`, `role`, `email`, `office_phone_ext`, `cell_phone`) VALUES
|
||||
(1, ENCODE('sparikh', 'astutesecret'), ENCODE('sparikh', 'astutesecret'), 'Saurin', NULL, 'Parikh', 'Owner', 'sparikh@Astuteng.com', 2024002004, 3014616485),
|
||||
(2, ENCODE('humaretiya', 'astutesecret'), ENCODE('humaretiya', 'astutesecret'), 'Haresh', NULL, 'Umaretiya', 'Owner', 'Humaretiya@astuteng.com', 2024002004, 0);
|
||||
/*!40000 ALTER TABLE ENCODE('gkatwala', 'astutesecret')`user` ENABLE KEYS */;
|
||||
|
||||
|
||||
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
|
||||
|
|
Loading…
Reference in New Issue
Block a user