-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
54 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
-- https://www.phpmyadmin.net/ | ||
-- | ||
-- Host: 127.0.0.1:3306 | ||
-- Generation Time: Nov 17, 2018 at 06:51 AM | ||
-- Generation Time: Nov 17, 2018 at 01:50 PM | ||
-- Server version: 5.7.23 | ||
-- PHP Version: 7.2.10 | ||
|
||
|
@@ -24,28 +24,6 @@ SET time_zone = "+00:00"; | |
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Table structure for table `client` | ||
-- | ||
|
||
DROP TABLE IF EXISTS `client`; | ||
CREATE TABLE IF NOT EXISTS `client` ( | ||
`user_id` int(255) NOT NULL, | ||
`client_id` int(255) NOT NULL AUTO_INCREMENT, | ||
`linked_professional` int(255) NOT NULL, | ||
`current_link` bit(1) DEFAULT b'0', | ||
PRIMARY KEY (`client_id`) | ||
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; | ||
|
||
-- | ||
-- Dumping data for table `client` | ||
-- | ||
|
||
INSERT INTO `client` (`user_id`, `client_id`, `linked_professional`, `current_link`) VALUES | ||
(2, 1, 4, b'1'); | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Table structure for table `practices` | ||
-- | ||
|
@@ -54,20 +32,26 @@ DROP TABLE IF EXISTS `practices`; | |
CREATE TABLE IF NOT EXISTS `practices` ( | ||
`professional_id` int(255) NOT NULL, | ||
`specialty_id` int(255) NOT NULL, | ||
`practices` bit(1) NOT NULL DEFAULT b'0' | ||
`practices` bit(1) NOT NULL DEFAULT b'0', | ||
`isTrauma` bit(1) NOT NULL DEFAULT b'0', | ||
`isMarriage` bit(1) NOT NULL DEFAULT b'0', | ||
`isFamily` bit(1) NOT NULL DEFAULT b'0', | ||
`isDevelopmental` bit(1) NOT NULL DEFAULT b'0', | ||
`isSpiritual` bit(1) NOT NULL DEFAULT b'0', | ||
`isDepression` bit(1) NOT NULL DEFAULT b'0' | ||
) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
|
||
-- | ||
-- Dumping data for table `practices` | ||
-- | ||
|
||
INSERT INTO `practices` (`professional_id`, `specialty_id`, `practices`) VALUES | ||
(4, 1, b'1'), | ||
(4, 2, b'0'), | ||
(4, 3, b'1'), | ||
(4, 4, b'1'), | ||
(4, 5, b'0'), | ||
(4, 6, b'1'); | ||
INSERT INTO `practices` (`professional_id`, `specialty_id`, `practices`, `isTrauma`, `isMarriage`, `isFamily`, `isDevelopmental`, `isSpiritual`, `isDepression`) VALUES | ||
(4, 1, b'1', b'0', b'0', b'0', b'0', b'0', b'0'), | ||
(4, 2, b'0', b'0', b'0', b'0', b'0', b'0', b'0'), | ||
(4, 3, b'1', b'0', b'0', b'0', b'0', b'0', b'0'), | ||
(4, 4, b'1', b'0', b'0', b'0', b'0', b'0', b'0'), | ||
(4, 5, b'0', b'0', b'0', b'0', b'0', b'0', b'0'), | ||
(4, 6, b'1', b'0', b'0', b'0', b'0', b'0', b'0'); | ||
|
||
-- -------------------------------------------------------- | ||
|
||
|
@@ -83,15 +67,46 @@ CREATE TABLE IF NOT EXISTS `professional` ( | |
`school` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, | ||
`bio` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, | ||
`accredited` bit(1) NOT NULL, | ||
`rate` decimal(65,0) NOT NULL DEFAULT '0', | ||
`isDepression` bit(1) NOT NULL DEFAULT b'0', | ||
`isDevelopmental` bit(1) NOT NULL DEFAULT b'0', | ||
`isFamily` bit(1) NOT NULL DEFAULT b'0', | ||
`isMarriage` bit(1) NOT NULL DEFAULT b'0', | ||
`isSpiritual` bit(1) NOT NULL DEFAULT b'0', | ||
`isTrauma` bit(1) NOT NULL DEFAULT b'0', | ||
PRIMARY KEY (`professional_id`) | ||
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; | ||
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; | ||
|
||
-- | ||
-- Dumping data for table `professional` | ||
-- | ||
|
||
INSERT INTO `professional` (`user_id`, `professional_id`, `location`, `school`, `bio`, `accredited`) VALUES | ||
(4, 1, 'logan', 'Utah State', 'fafnjknasf asfonasjfk jkas fjasobfnoajs fj asjfjabbfj asjd fjsabfjoa sjfnjsa fjjbfja sfasjf ojasfbjsd fj asfasjfjkasf asfasfnasjjf asg safjkadsnfjka sf a asdjkfnadsjnfjasdnfklnasd fasdljf ajsl fdlasd flasb fj asdjlf alksdioasdf asdf aslfksadnfnasd dfaslaksdfnlasdf asdflkasdf n dsflkasdfnlsadiafdslknadsfkl adsf.kjasfdovhb d,sdafl', b'1'); | ||
INSERT INTO `professional` (`user_id`, `professional_id`, `location`, `school`, `bio`, `accredited`, `rate`, `isDepression`, `isDevelopmental`, `isFamily`, `isMarriage`, `isSpiritual`, `isTrauma`) VALUES | ||
(4, 1, 'logan', 'Utah State', 'fafnjknasf asfonasjfk jkas fjasobfnoajs fj asjfjabbfj asjd fjsabfjoa sjfnjsa fjjbfja sfasjf ojasfbjsd fj asfasjfjkasf asfasfnasjjf asg safjkadsnfjka sf a asdjkfnadsjnfjasdnfklnasd fasdljf ajsl fdlasd flasb fj asdjlf alksdioasdf asdf aslfksadnfnasd dfaslaksdfnlasdf asdflkasdf n dsflkasdfnlsadiafdslknadsfkl adsf.kjasfdovhb d,sdafl', b'1', '75', b'0', b'1', b'0', b'1', b'1', b'1'), | ||
(7, 2, 'Austin, Texas', 'Harvard', 'fjkas jk adsfk sjfnas dfjks abfja sfk asfkn aksfjhaiewufbjkabfuagbfjewa vajkewbvja vabjae va vkibauiebawjl vmavd vjabwvj awlj eajwf jaewofbouaewflbliuabfilab flisudvgbaefkajwe fdskcbiuawefbaf aefjaefbkjae f,nsd flvfaewbfjk afbjdddjbkfdhbfdbfdjbjhbbvjkzbvjbkjkbkjbzdsdjbsioisbjsdkjdfsjkafhdkjsfasadfoafob', b'1', '250', b'1', b'0', b'0', b'1', b'0', b'0'), | ||
(8, 3, 'Washington DC', 'Boston University', 'fjkas jk adsfk sjfnas dfjks abfja sfk asfkn aksfjhaiewufbjkabfuagbfjewa vajkewbvja vabjae va vkibauiebawjl vmavd vjabwvj awlj eajwf jaewofbouaewflbliuabfilab flisudvgbaefkajwe fdskcbiuawefbaf aefjaefbkjae f,nsd flvfaewbfjk afbjdddjbkfdhbfdbfdjbjhbbvjkzbvjbkjkbkjbzdsdjbsioisbjsdkjdfsjkafhdkjsfasadfoafob', b'1', '43', b'0', b'1', b'0', b'1', b'1', b'1'); | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Table structure for table `session` | ||
-- | ||
|
||
DROP TABLE IF EXISTS `session`; | ||
CREATE TABLE IF NOT EXISTS `session` ( | ||
`client_id` int(255) NOT NULL, | ||
`professional_id` int(255) NOT NULL, | ||
`next_session` date NOT NULL, | ||
`next_time` time DEFAULT NULL, | ||
`current` bit(1) NOT NULL DEFAULT b'0' | ||
) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
|
||
-- | ||
-- Dumping data for table `session` | ||
-- | ||
|
||
INSERT INTO `session` (`client_id`, `professional_id`, `next_session`, `next_time`, `current`) VALUES | ||
(1, 1, '2018-11-23', '00:00:12', b'1'); | ||
|
||
-- -------------------------------------------------------- | ||
|
||
|
@@ -134,7 +149,7 @@ CREATE TABLE IF NOT EXISTS `user` ( | |
`isVerified` bit(1) DEFAULT NULL, | ||
`isClient` bit(1) DEFAULT NULL, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; | ||
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1; | ||
|
||
-- | ||
-- Dumping data for table `user` | ||
|
@@ -144,7 +159,10 @@ INSERT INTO `user` (`id`, `fName`, `lName`, `email`, `password`, `isVerified`, ` | |
(2, 'Elizabeth', 'Howell', '[email protected]', 'little15', b'1', b'1'), | ||
(3, 'John', 'Smith', '[email protected]', 'root', b'1', b'1'), | ||
(4, 'Dane', 'Chair', '[email protected]', 'root', b'1', b'0'), | ||
(5, 'Jane', 'Smith', '[email protected]', 'root', b'1', b'1'); | ||
(5, 'Jane', 'Smith', '[email protected]', 'root', b'1', b'1'), | ||
(6, 'Ryan', 'Davidson', '[email protected]', ' root', b'1', b'1'), | ||
(7, 'Mary', 'Huges', 'mhughes.yahoo.com', 'root', b'1', b'0'), | ||
(8, 'Erik', 'Mars', 'EMars.yahoo.com', 'root', b'1', b'0'); | ||
COMMIT; | ||
|
||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; | ||
|