-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `invtecsa_thadbse`
--

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

--
-- Table structure for table `account`
--

CREATE TABLE `account` (
  `id` int(11) NOT NULL,
  `acc_H` varchar(200) NOT NULL,
  `memID` text NOT NULL,
  `aType` text NOT NULL,
  `aName` text NOT NULL,
  `currency` text NOT NULL,
  `symbol` text NOT NULL,
  `aBal` float(10,2) NOT NULL,
  `dateOpened` datetime NOT NULL,
  `COT` text NOT NULL,
  `tax` text NOT NULL,
  `antiTerror` text NOT NULL,
  `demurrage` text NOT NULL,
  `aNum` text NOT NULL,
  `cLimit` float(10,2) NOT NULL,
  `status` varchar(5) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `account`
--

INSERT INTO `account` (`id`, `acc_H`, `memID`, `aType`, `aName`, `currency`, `symbol`, `aBal`, `dateOpened`, `COT`, `tax`, `antiTerror`, `demurrage`, `aNum`, `cLimit`, `status`) VALUES
(16, 'f_Acc', 'johnmark001', 'CURRENT ACCOUNT', 'JOHN MARK', 'United States Dollar', '$', 20000000.00, '2026-03-23 00:00:00', '1232', '', '', '', '098110223', 0.00, '0'),
(15, 'f_Acc', 'Adamid', 'Savings', 'Savings', 'United States Dollar', '$', 100000.00, '2026-04-04 00:01:00', '20948', '', '', '', '34875859838', 0.00, '0');

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

--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `id` int(11) NOT NULL,
  `memID` text NOT NULL,
  `subject` text NOT NULL,
  `content` text NOT NULL,
  `attachedFile` text DEFAULT NULL,
  `date` datetime NOT NULL,
  `sender` text NOT NULL,
  `status` int(11) NOT NULL DEFAULT 1
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `messages`
--

INSERT INTO `messages` (`id`, `memID`, `subject`, `content`, `attachedFile`, `date`, `sender`, `status`) VALUES
(11, 'Adamid', 'C.O.T Enquiry', 'KINDLY INFORM COT', NULL, '2026-03-23 07:22:57', 'Adamid', 1);

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

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` int(11) NOT NULL,
  `memID` text NOT NULL,
  `sA1` text NOT NULL,
  `sA2` text NOT NULL,
  `sA3` text NOT NULL,
  `eP` text NOT NULL,
  `eB` text NOT NULL,
  `eT` text NOT NULL,
  `e3D` text NOT NULL,
  `eEa` text NOT NULL,
  `eSa` text NOT NULL,
  `b2` text NOT NULL,
  `b3` text NOT NULL,
  `b4` text NOT NULL,
  `b5` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `memID`, `sA1`, `sA2`, `sA3`, `eP`, `eB`, `eT`, `e3D`, `eEa`, `eSa`, `b2`, `b3`, `b4`, `b5`) VALUES
(10, 'johnmark001', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'no', 'yes', 'no', 'yes', 'no', 'no', 'no'),
(9, 'Adamid', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'yes', 'yes', 'no', 'yes', 'yes', 'yes', 'yes');

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

--
-- Table structure for table `trans`
--

CREATE TABLE `trans` (
  `tid` int(11) NOT NULL,
  `memID` text NOT NULL,
  `tDate` datetime NOT NULL,
  `pAccno` text NOT NULL,
  `rAccno` text NOT NULL,
  `amount` float NOT NULL,
  `type` varchar(50) NOT NULL DEFAULT 'DEBIT',
  `status` varchar(200) NOT NULL DEFAULT 'pending'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `trans`
--

INSERT INTO `trans` (`tid`, `memID`, `tDate`, `pAccno`, `rAccno`, `amount`, `type`, `status`) VALUES
(1, '7890782234', '2021-03-15 07:13:47', '', '67112093423', 37600000, 'CREDIT', 'complete'),
(2, '7890782234', '2021-03-15 08:37:19', '', '62145509651', 890000, 'CREDIT', 'complete'),
(3, '4337822310979318', '2021-03-21 11:13:13', '', '6734120900', -559140, 'CREDIT', 'complete'),
(4, '4337822310979318', '2021-03-21 11:14:07', '', '6734120900', 859140, 'CREDIT', 'complete'),
(5, '4337822310979318', '2021-03-21 11:14:30', '6734120900', '5430411538785492', 1890, 'DEBIT', 'complete'),
(6, '4337822310979318', '2021-03-30 04:24:05', '6734120900', '5430411538785492', 89000, 'DEBIT', 'complete'),
(7, '4572866836378202', '2021-04-07 10:15:28', '', '8906212241', 0, 'CREDIT', 'complete'),
(8, '4389580000791925', '2022-07-29 03:34:46', '', '4389580000791925', 0, 'CREDIT', 'complete'),
(9, '4389580000791925', '2022-07-29 03:40:49', '', '4389580000791925', 890, 'CREDIT', 'complete'),
(10, '4389580000791925', '2022-07-29 03:41:37', '', '4389580000791925', 889110, 'CREDIT', 'complete'),
(11, '4389580000791925', '2022-07-29 03:44:24', '4389580000791925', '90086766654', 87600, 'DEBIT', 'cot'),
(12, '4389580000791925', '2022-07-30 11:55:18', '4389580000791925', '90086766654', 4567, 'DEBIT', 'cot'),
(13, '4389580000791925', '2022-08-12 01:39:13', '4389580000791925', '90086766654', 78999, 'DEBIT', 'cot'),
(14, '4389580000791925', '2022-08-12 04:28:26', '4389580000791925', '90086766654', 9088, 'DEBIT', 'tax'),
(15, 'Adamid', '2026-03-05 01:49:42', '34875859838', '98463789299', 100, 'DEBIT', 'cot'),
(16, 'JIDESOUTH102', '2026-03-10 06:56:33', '', '2567810019', 25, 'CREDIT', 'complete'),
(17, 'JIDESOUTH102', '2026-03-10 07:09:23', '', '1234567', 2500000000, 'CREDIT', 'complete'),
(18, 'JIDESOUTH102', '2026-03-23 07:09:47', '', '1234567', 25000000, 'CREDIT', 'complete'),
(19, 'Adamid', '2026-03-23 07:21:00', '34875859838', '98463789299', 20000, 'DEBIT', 'cot'),
(20, 'johnmark001', '2026-03-23 07:57:10', '', '', 20, 'CREDIT', 'complete'),
(21, 'johnmark001', '2026-03-23 08:01:16', '', '', 20000000, 'CREDIT', 'complete'),
(22, 'johnmark001', '2026-03-23 08:10:24', '098110223', '234001', 20000, 'DEBIT', 'cot');

--
-- Indexes for dumped tables
--

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

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

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

--
-- Indexes for table `trans`
--
ALTER TABLE `trans`
  ADD PRIMARY KEY (`tid`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `account`
--
ALTER TABLE `account`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `trans`
--
ALTER TABLE `trans`
  MODIFY `tid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
COMMIT;

