-- phpMyAdmin SQL Dump
-- version 4.3.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Dec 27, 2016 at 01:25 PM
-- Server version: 5.6.24
-- PHP Version: 5.6.8

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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 utf8 */;

--
-- Database: `sps`
--

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

--
-- Table structure for table `sps_menu`
--

CREATE TABLE IF NOT EXISTS `sps_menu` (
  `id` bigint(20) NOT NULL,
  `menu_item` varchar(255) NOT NULL,
  `menu_url` varchar(255) NOT NULL,
  `parent_menu_id` bigint(20) NOT NULL,
  `order` bigint(20) NOT NULL,
  `status` tinyint(1) NOT NULL,
  `location_id` bigint(20) NOT NULL,
  `area_id` bigint(20) NOT NULL,
  `created_by` bigint(20) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `deleted_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `sps_menu`
--

INSERT INTO `sps_menu` (`id`, `menu_item`, `menu_url`, `parent_menu_id`, `order`, `status`, `location_id`, `area_id`, `created_by`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'dashboard', 'admin', 0, 1, 1, 0, 0, 0, '2016-12-22 12:43:46', '2016-12-26 11:59:47', '0000-00-00 00:00:00'),
(2, 'equipment_type', 'admin/equipment', 0, 2, 1, 0, 0, 0, '2016-12-22 13:48:13', '2016-12-27 06:27:38', '0000-00-00 00:00:00'),
(3, 'vehicle_type', 'admin/vehicle', 0, 3, 1, 0, 0, 0, '2016-12-22 13:48:13', '2016-12-27 06:27:43', '0000-00-00 00:00:00'),
(4, 'users', 'admin/users', 1, 4, 1, 0, 0, 0, '2016-12-22 13:48:13', '2016-12-27 10:23:38', '0000-00-00 00:00:00');

--
-- Indexes for dumped tables
--

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `sps_menu`
--
ALTER TABLE `sps_menu`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5;
/*!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 */;
