text: -- phpMyAdmin SQL Dump
  -- version 4.7.0
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Sep 29, 2017 at 06:18 AM
  -- Server version: 10.1.25-MariaDB
  -- PHP Version: 7.1.7
  
  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: `sanctionlist`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `approved`
  --
  
  CREATE TABLE `approved` (
    `list_id` varchar(50) NOT NULL,
    `full_name` varchar(50) NOT NULL,
    `email` varchar(50) DEFAULT NULL,
    `phone_number` varchar(50) DEFAULT NULL,
    `birthdate` date NOT NULL,
    `gender` enum('Male','Female') DEFAULT NULL,
    `input_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `approved_time` timestamp NULL DEFAULT NULL,
    `input_by` varchar(50) DEFAULT NULL,
    `approved_by` varchar(50) DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `log`
  --
  
  CREATE TABLE `log` (
    `log_id` int(11) NOT NULL,
    `list_id` varchar(50) NOT NULL,
    `full_name` varchar(50) NOT NULL,
    `email` varchar(50) DEFAULT NULL,
    `phone_number` varchar(50) DEFAULT NULL,
    `birthdate` date NOT NULL,
    `gender` enum('Male','Female') DEFAULT NULL,
    `input_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `input_by` varchar(50) DEFAULT NULL,
    `approved_time` timestamp NULL DEFAULT NULL,
    `approved_by` varchar(50) DEFAULT NULL,
    `action_type` enum('insert','update','delete') DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `pending`
  --
  
  CREATE TABLE `pending` (
    `list_id` varchar(50) NOT NULL,
    `full_name` varchar(50) NOT NULL,
    `email` varchar(50) DEFAULT NULL,
    `phone_number` varchar(50) DEFAULT NULL,
    `birthdate` date NOT NULL,
    `gender` enum('Male','Female') DEFAULT NULL,
    `input_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `input_by` varchar(50) DEFAULT NULL,
    `action_type` enum('insert','update','delete') DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `user`
  --
  
  CREATE TABLE `user` (
    `id` int(11) NOT NULL,
    `user_id` varchar(50) NOT NULL,
    `username` varchar(50) NOT NULL,
    `password` varchar(50) NOT NULL,
    `user_group` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `approved`
  --
  ALTER TABLE `approved`
    ADD PRIMARY KEY (`list_id`);
  
  --
  -- Indexes for table `log`
  --
  ALTER TABLE `log`
    ADD PRIMARY KEY (`log_id`);
  
  --
  -- Indexes for table `pending`
  --
  ALTER TABLE `pending`
    ADD PRIMARY KEY (`list_id`);
  
  --
  -- Indexes for table `user`
  --
  ALTER TABLE `user`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `log`
  --
  ALTER TABLE `log`
    MODIFY `log_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=85;
  --
  -- AUTO_INCREMENT for table `user`
  --
  ALTER TABLE `user`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;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 */;
  