-- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jul 27, 2023 at 04:17 PM
-- Server version: 5.6.26
-- PHP Version: 5.6.12

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 utf8mb4 */;

--
-- Database: `robipos`
--

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

--
-- Table structure for table `currency`
--

CREATE TABLE IF NOT EXISTS `currency` (
  `id` int(11) NOT NULL,
  `name` varchar(50) NOT NULL,
  `description` text NOT NULL,
  `createdate` varchar(50) NOT NULL,
  `status` varchar(50) NOT NULL DEFAULT 'active',
  `userid` varchar(50) NOT NULL,
  `updatedate` varchar(50) NOT NULL,
  `companyid` varchar(50) NOT NULL,
  `branchid` int(20) NOT NULL DEFAULT '1',
  `basecurrency` varchar(30) NOT NULL,
  `baseamount` varchar(30) NOT NULL,
  `tocurrency` varchar(30) NOT NULL,
  `toamount` varchar(30) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `currency`
--

INSERT INTO `currency` (`id`, `name`, `description`, `createdate`, `status`, `userid`, `updatedate`, `companyid`, `branchid`, `basecurrency`, `baseamount`, `tocurrency`, `toamount`) VALUES
(1, 'USD', '', '2023-06-20 04:44:59', 'active', '1', '', '1', 1, 'KES', '1', '', '140'),
(2, 'AUD', '', '2023-06-20 04:45:39', 'active', '1', '', '1', 1, 'KES', '1', '', '95.961 '),
(3, 'EUR', '', '2023-06-20 04:46:31', 'active', '1', '', '1', 1, 'KES', '1', '', '153.052 '),
(4, 'GBP', '', '2023-06-22 09:37:02', 'active', '1', '', '1', 1, 'KES', '1', '', '160'),
(5, 'KES', '', '2023-07-05 06:20:31', 'active', '1', '', '1', 1, 'KES', '1', '', '1');

--
-- Indexes for dumped tables
--

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `currency`
--
ALTER TABLE `currency`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6;
/*!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 */;
