-- http://www.phpmyadmin.net
--




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

--
-- Table structure for table `alerts`
--

CREATE TABLE `alerts` (
  `id` int(100) NOT NULL,
  `uname` varchar(40) NOT NULL,
  `amount` int(40) NOT NULL,
  `sender_name` varchar(40) NOT NULL,
  `type` varchar(10) NOT NULL,
  `remarks` varchar(100) NOT NULL,
  `date` varchar(20) NOT NULL,
  `time` varchar(20) NOT NULL,
  `email` varchar(255) NOT NULL,
  `statz` varchar(200) DEFAULT 'Successful'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `alerts`
--


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

--
-- Table structure for table `bank_settings`
--

CREATE TABLE `bank_settings` (
  `id` int(255) NOT NULL,
  `bank_name` varchar(255) NOT NULL,
  `bank_domain` varchar(255) NOT NULL,
  `bank_email` varchar(255) NOT NULL,
  `bank_phone` varchar(255) NOT NULL,
  `bank_address` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED;

--
-- Dumping data for table `bank_settings`
--

INSERT INTO `bank_settings` (`id`, `bank_name`, `bank_domain`, `bank_email`, `bank_phone`, `bank_address`) VALUES
(1, 'CYBER BANK', 'https://www.projectscripts.com.ng\r\n', 'support@projectscripts.com.ng', '+4470000000000', 'Our Local Company Address');

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

--
-- Table structure for table `live_transfer`
--

CREATE TABLE `live_transfer` (
  `id` int(255) NOT NULL,
  `beneficiary_account_no` varchar(255) NOT NULL,
  `beneficiary_ifsc` varchar(255) NOT NULL,
  `amount` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `loan`
--

CREATE TABLE `loan` (
  `id` int(11) NOT NULL,
  `lamt` varchar(100) NOT NULL,
  `duration` varchar(100) NOT NULL,
  `description` varchar(100) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `message`
--

CREATE TABLE `message` (
  `id` int(10) NOT NULL,
  `sender_name` varchar(40) NOT NULL,
  `reci_name` varchar(40) NOT NULL,
  `subject` varchar(100) NOT NULL,
  `msg` varchar(2000) NOT NULL,
  `read` enum('unread','opened') DEFAULT 'unread',
  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `temp_transfer`
--

CREATE TABLE `temp_transfer` (
  `id` int(100) NOT NULL,
  `email` varchar(40) DEFAULT NULL,
  `amount` varchar(20) DEFAULT NULL,
  `acc_id` varchar(300) NOT NULL,
  `acc_name` varchar(60) NOT NULL,
  `bank_name` varchar(40) NOT NULL,
  `swift` varchar(200) NOT NULL,
  `routing` varchar(200) NOT NULL,
  `type` varchar(20) NOT NULL,
  `remarks` text NOT NULL,
  `cout` varchar(1000) NOT NULL,
  `transtype` varchar(1000) NOT NULL,
  `date` varchar(200) NOT NULL,
  `ref` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `ticket`
--

CREATE TABLE `ticket` (
  `id` int(10) NOT NULL,
  `tc` int(10) NOT NULL,
  `sender_name` varchar(40) NOT NULL,
  `mail` varchar(40) DEFAULT NULL,
  `subject` varchar(100) NOT NULL,
  `msg` varchar(1000) NOT NULL,
  `status` enum('Pending','Replied') DEFAULT 'Pending',
  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `transfer`
--

CREATE TABLE `transfer` (
  `id` int(10) NOT NULL,
  `email` varchar(100) DEFAULT NULL,
  `amount` varchar(100) NOT NULL,
  `acc_id` varchar(40) NOT NULL,
  `acc_name` varchar(100) NOT NULL,
  `bank_name` varchar(40) NOT NULL,
  `swift` varchar(100) NOT NULL,
  `routing` varchar(100) NOT NULL,
  `type` varchar(20) NOT NULL,
  `remarks` varchar(500) NOT NULL,
  `cout` varchar(1000) NOT NULL,
  `transtype` varchar(1000) NOT NULL,
  `date` varchar(200) NOT NULL,
  `ref` varchar(255) NOT NULL,
  `status` enum('Failed','Successful','Pending','Processing','Cancelled') DEFAULT 'Processing'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

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

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

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

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

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

--
-- Indexes for table `transfer`
--
ALTER TABLE `transfer`
  ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for table `alerts`
--
ALTER TABLE `alerts`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
--
-- AUTO_INCREMENT for table `bank_settings`
--
ALTER TABLE `bank_settings`
  MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `live_transfer`
--
ALTER TABLE `live_transfer`
  MODIFY `id` int(255) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `message`
--
ALTER TABLE `message`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `temp_transfer`
--
ALTER TABLE `temp_transfer`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ticket`
--
ALTER TABLE `ticket`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `transfer`
--
ALTER TABLE `transfer`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
