Skip to content

Commit

Permalink
sql file
Browse files Browse the repository at this point in the history
  • Loading branch information
purna1sai authored Apr 30, 2021
1 parent 9eb2c34 commit 78f2dcf
Showing 1 changed file with 279 additions and 0 deletions.
279 changes: 279 additions & 0 deletions hmmsdb.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,279 @@
-- phpMyAdmin SQL Dump
-- version 4.9.7deb1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Apr 30, 2021 at 04:57 PM
-- Server version: 10.3.25-MariaDB-0ubuntu1
-- PHP Version: 7.3.27-9+ubuntu20.10.1+deb.sury.org+1

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `hmmsdb`
--

-- --------------------------------------------------------

--
-- Table structure for table `tbladmin`
--

CREATE TABLE `tbladmin` (
`ID` int(10) NOT NULL,
`AdminName` varchar(200) DEFAULT NULL,
`UserName` varchar(200) DEFAULT NULL,
`MobileNumber` bigint(10) DEFAULT NULL,
`Email` varchar(200) DEFAULT NULL,
`Password` varchar(200) DEFAULT NULL,
`AdminRegdate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tbladmin`
--

INSERT INTO `tbladmin` (`ID`, `AdminName`, `UserName`, `MobileNumber`, `Email`, `Password`, `AdminRegdate`) VALUES
(1, 'Doctor1', 'admin', 7382129279, '[email protected]', 'f925916e2754e5e03f75dd58a5733251', '2020-05-25 12:16:24');

-- --------------------------------------------------------

--
-- Table structure for table `tblbp`
--

CREATE TABLE `tblbp` (
`ID` int(10) NOT NULL,
`MemberID` int(5) DEFAULT NULL,
`SYS` int(5) DEFAULT NULL,
`DIA` int(10) DEFAULT NULL,
`Pulses` int(10) DEFAULT NULL,
`EnterDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tblbp`
--

INSERT INTO `tblbp` (`ID`, `MemberID`, `SYS`, `DIA`, `Pulses`, `EnterDate`) VALUES
(1, 1, 120, 78, 84, '2020-05-26 16:15:33'),
(6, 1, 44, 54, 77, '2021-04-30 15:53:27');

-- --------------------------------------------------------

--
-- Table structure for table `tblmember`
--

CREATE TABLE `tblmember` (
`ID` int(10) NOT NULL,
`UserID` int(5) NOT NULL,
`FullName` varchar(200) DEFAULT NULL,
`Gender` varchar(50) DEFAULT NULL,
`Age` int(5) DEFAULT NULL,
`Weight` varchar(50) DEFAULT NULL,
`Relation` varchar(45) DEFAULT NULL,
`CreationDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tblmember`
--

INSERT INTO `tblmember` (`ID`, `UserID`, `FullName`, `Gender`, `Age`, `Weight`, `Relation`, `CreationDate`) VALUES
(1, 1, 'Manoj Mike', 'Male', 21, '60', 'Other', '2021-04-26 05:49:02');

-- --------------------------------------------------------

--
-- Table structure for table `tblrange`
--

CREATE TABLE `tblrange` (
`ID` int(10) NOT NULL,
`TestName` varchar(200) DEFAULT NULL,
`Description` mediumtext DEFAULT NULL,
`CreationDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tblrange`
--

INSERT INTO `tblrange` (`ID`, `TestName`, `Description`, `CreationDate`) VALUES
(1, 'Blood Pressure', '<b><font color=\"#00cccc\">SYS/DIA</font></b><div><ul><li>&nbsp;90/60 or less- <b><font color=\"#ff0000\">Low BP</font></b></li><li>&nbsp;&gt;90/60 and &lt;120/80- <b><font color=\"#66ff00\">Normal BP</font></b></li><li>&nbsp;&gt;120/80 and &lt;140/90- <b><font color=\"#ff9900\">Little High BP</font></b></li><li>&nbsp;140/90&gt;- <b><font color=\"#ff0000\">High BP</font></b></li></ul></div><div><div><br></div></div>', '2020-05-28 05:33:49'),
(2, 'Blood Sugar', '<font color=\"#00cc99\"><b>Fasting Blood Sugar</b>&nbsp;</font><div><ul><li>&nbsp;70-100 mg/dl- <b style=\"\"><font color=\"#33cc00\">Normal</font></b></li><li>&nbsp;101-125 mg/dl - <font color=\"#ff9900\"><b>Prediabetes</b></font></li><li>&nbsp;125 mg/dl and above - <font color=\"#ff3300\"><b>Diabetes</b>&nbsp;</font></li></ul><div><b><font color=\"#00cc99\">&nbsp;Post Meal Blood Sugar&nbsp;</font></b></div><div><ul><li>70-140 mg/dl - <font color=\"#33cc00\"><b>Normal</b>&nbsp;</font></li><li>141-200 mg/dl -<b> <font color=\"#ff9900\">Prediabetes</font>&nbsp;</b></li><li>200 mg/dl and above - <b><font color=\"#ff3300\">Diabetes</font></b></li></ul></div></div>', '2020-05-28 05:47:23'),
(3, 'Body Temparature', '<b>Body Temperature&nbsp;</b><div>&nbsp;98.6°F-97 °F -<font color=\"#339900\"> <b>Normal Temp</b>&nbsp;</font></div><div>&nbsp;&gt; 98.6°F -<b><font color=\"#ff0000\">High Temp</font></b></div>', '2020-05-28 05:50:43');

-- --------------------------------------------------------

--
-- Table structure for table `tblsugar`
--

CREATE TABLE `tblsugar` (
`ID` int(10) NOT NULL,
`MemberID` int(5) DEFAULT NULL,
`Typeoftest` varchar(50) DEFAULT NULL,
`BloodSugar` int(10) DEFAULT NULL,
`EnterDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tblsugar`
--

INSERT INTO `tblsugar` (`ID`, `MemberID`, `Typeoftest`, `BloodSugar`, `EnterDate`) VALUES
(1, 1, 'FBS', 88, '2020-05-27 04:25:12');

-- --------------------------------------------------------

--
-- Table structure for table `tbltemp`
--

CREATE TABLE `tbltemp` (
`ID` int(10) NOT NULL,
`MemberID` int(5) DEFAULT NULL,
`BodyTemparture` int(50) DEFAULT NULL,
`EnterDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tbltemp`
--

INSERT INTO `tbltemp` (`ID`, `MemberID`, `BodyTemparture`, `EnterDate`) VALUES
(1, 1, 99, '2020-05-27 05:12:19');

-- --------------------------------------------------------

--
-- Table structure for table `tbluser`
--

CREATE TABLE `tbluser` (
`ID` int(10) NOT NULL,
`FullName` varchar(200) DEFAULT NULL,
`MobileNumber` bigint(10) DEFAULT NULL,
`Email` varchar(200) DEFAULT NULL,
`Password` varchar(200) DEFAULT NULL,
`RegDate` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tbluser`
--

INSERT INTO `tbluser` (`ID`, `FullName`, `MobileNumber`, `Email`, `Password`, `RegDate`) VALUES
(1, 'Manoj', 225554565, '[email protected]', '9023c79c5febdea65f227944c9b84b1a', '2021-04-26 03:28:17');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `tbladmin`
--
ALTER TABLE `tbladmin`
ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `tblbp`
--
ALTER TABLE `tblbp`
ADD PRIMARY KEY (`ID`),
ADD KEY `MemberID` (`MemberID`);

--
-- Indexes for table `tblmember`
--
ALTER TABLE `tblmember`
ADD PRIMARY KEY (`ID`),
ADD KEY `UserID` (`UserID`);

--
-- Indexes for table `tblrange`
--
ALTER TABLE `tblrange`
ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `tblsugar`
--
ALTER TABLE `tblsugar`
ADD PRIMARY KEY (`ID`),
ADD KEY `MemberID` (`MemberID`);

--
-- Indexes for table `tbltemp`
--
ALTER TABLE `tbltemp`
ADD PRIMARY KEY (`ID`),
ADD KEY `MemberID` (`MemberID`);

--
-- Indexes for table `tbluser`
--
ALTER TABLE `tbluser`
ADD PRIMARY KEY (`ID`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `tbladmin`
--
ALTER TABLE `tbladmin`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblbp`
--
ALTER TABLE `tblbp`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `tblmember`
--
ALTER TABLE `tblmember`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `tblrange`
--
ALTER TABLE `tblrange`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `tblsugar`
--
ALTER TABLE `tblsugar`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `tbltemp`
--
ALTER TABLE `tbltemp`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `tbluser`
--
ALTER TABLE `tbluser`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

0 comments on commit 78f2dcf

Please sign in to comment.