-- phpMyAdmin SQL Dump
-- version 4.9.7
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jan 07, 2022 at 06:21 AM
-- Server version: 5.7.36
-- PHP Version: 7.3.33

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: `robisear_mainerp`
--

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

--
-- Table structure for table `rolepermissions`
--

CREATE TABLE `rolepermissions` (
  `moduleid` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `userid` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `rolepermissions`
--

INSERT INTO `rolepermissions` (`moduleid`, `userid`) VALUES
('accomodation', 1),
('accounting', 1),
('accountingreports', 1),
('assets', 1),
('bankdeposits', 1),
('banktransfer', 1),
('branch', 1),
('callcenter', 1),
('cashiersales', 1),
('complain', 1),
('config', 1),
('damagedproducts', 1),
('deals', 1),
('displayreport', 1),
('documents', 1),
('ecommerce', 1),
('events', 1),
('grouping', 1),
('humanresource', 1),
('income', 1),
('incomeexpenses', 1),
('incomingstock', 1),
('incomingstore', 1),
('journalentry', 1),
('labourrecords', 1),
('lowproducts', 1),
('lowstocklist', 1),
('members', 1),
('password', 1),
('payroll', 1),
('peoplecategory', 1),
('productlist', 1),
('products', 1),
('productscategory', 1),
('profile', 1),
('projectsmanagement', 1),
('purchases', 1),
('recorddelivery', 1),
('reports', 1),
('sales', 1),
('sendsms', 1),
('task', 1),
('taskscategory', 1),
('users', 1),
('viewreturnsales', 1),
('wholesale', 1),
('cashiersales', 2),
('password', 2),
('sales', 2),
('cashiersales', 4),
('password', 4),
('sales', 4),
('viewreturnsales', 4),
('accounting', 5),
('accountingreports', 5),
('bankdeposits', 5),
('banktransfer', 5),
('incomeexpenses', 5),
('cashiersales', 8),
('password', 8),
('profile', 8),
('sales', 8);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `rolepermissions`
--
ALTER TABLE `rolepermissions`
  ADD PRIMARY KEY (`moduleid`,`userid`),
  ADD KEY `person_id` (`userid`);
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 */;
