

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `res`
--

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

--
-- Table structure for table `admin`
--

CREATE TABLE `admin` (
  `id` int(11) NOT NULL,
  `username` text NOT NULL,
  `password` text NOT NULL,
  `email` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `admin`
--

INSERT INTO `admin` (`id`, `username`, `password`, `email`) VALUES
(1, 'admin', 'admin1234', 'admin@gmail.com');

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

--
-- Table structure for table `nps`
--

CREATE TABLE `nps` (
  `nid` int(11) NOT NULL,
  `ppono` text NOT NULL,
  `name` text NOT NULL,
  `govcont` text NOT NULL,
  `empcon` text NOT NULL,
  `totalnps` text NOT NULL,
  `source` text NOT NULL,
  `type` text NOT NULL,
  `credit` text NOT NULL,
  `debit` text NOT NULL,
  `date` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `updates`
--

CREATE TABLE `updates` (
  `uid` int(11) NOT NULL,
  `udate` text NOT NULL,
  `ucontent` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `sid` int(11) NOT NULL,
  `ppono` text NOT NULL,
  `name` text NOT NULL,
  `fname` text NOT NULL,
  `dob` text NOT NULL,
  `mobile` text NOT NULL,
  `email` text NOT NULL,
  `password` text NOT NULL,
  `aadhaar` text NOT NULL,
  `pan` text NOT NULL,
  `aurly` text NOT NULL,
  `billunit` text NOT NULL,
  `designation` text NOT NULL,
  `department` text NOT NULL,
  `doa` text NOT NULL,
  `doi` text NOT NULL,
  `dor` text NOT NULL,
  `gincome` text NOT NULL,
  `ldeduction` text NOT NULL,
  `cincome` text NOT NULL,
  `oincome` text NOT NULL,
  `tincome` text NOT NULL,
  `tdeduction` text NOT NULL,
  `taxincome` text NOT NULL,
  `taxonincome` text NOT NULL,
  `educess` text NOT NULL,
  `taxpay` text NOT NULL,
  `ttd` text NOT NULL,
  `tttd` text NOT NULL,
  `rus` text NOT NULL,
  `taxtodeduct` text NOT NULL,
  `loandate` text NOT NULL,
  `rrate` text NOT NULL,
  `tinstallment` text NOT NULL,
  `rints` text NOT NULL,
  `sancamount` text NOT NULL,
  `recamount` text NOT NULL,
  `balamount` text NOT NULL,
  `pfbalance` text NOT NULL,
  `tcdy` text NOT NULL,
  `tddy` text NOT NULL,
  `annualint` text NOT NULL,
  `tpfbalance` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `nps`
--
ALTER TABLE `nps`
  ADD PRIMARY KEY (`nid`);

--
-- Indexes for table `updates`
--
ALTER TABLE `updates`
  ADD PRIMARY KEY (`uid`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`sid`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `nps`
--
ALTER TABLE `nps`
  MODIFY `nid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `updates`
--
ALTER TABLE `updates`
  MODIFY `uid` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `sid` int(11) NOT NULL AUTO_INCREMENT;
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 */;
