Beemap-sql
Beemap-sql
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Sep 11, 2023 at 01:04 PM
-- Server version: 10.5.22-MariaDB-cll-lve-log
-- PHP Version: 8.1.16
--
-- Database: `topupque_Topupquest`
--
-- --------------------------------------------------------
--
-- Table structure for table `airtime`
--
--
-- Dumping data for table `airtime`
--
-- --------------------------------------------------------
--
-- Table structure for table `airtimepinprice`
--
CREATE TABLE `airtimepinprice` (
`aId` int(100) NOT NULL,
`aNetwork` varchar(10) NOT NULL,
`aUserDiscount` float NOT NULL,
`aAgentDiscount` float NOT NULL,
`aVendorDiscount` float NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
--
-- Dumping data for table `airtimepinprice`
--
-- --------------------------------------------------------
--
-- Table structure for table `alphatopupprice`
--
-- --------------------------------------------------------
--
-- Table structure for table `apiconfigs`
--
--
-- Dumping data for table `apiconfigs`
--
-- --------------------------------------------------------
--
-- Table structure for table `apilinks`
--
--
-- Dumping data for table `apilinks`
--
-- --------------------------------------------------------
--
-- Table structure for table `cableid`
--
--
-- Dumping data for table `cableid`
--
-- --------------------------------------------------------
--
-- Table structure for table `cableplans`
--
--
-- Dumping data for table `cableplans`
--
-- --------------------------------------------------------
--
-- Table structure for table `contact`
--
--
-- Dumping data for table `contact`
--
-- --------------------------------------------------------
--
-- Table structure for table `datapins`
--
--
-- Dumping data for table `datapins`
--
-- --------------------------------------------------------
--
-- Table structure for table `dataplans`
--
--
-- Dumping data for table `dataplans`
--
-- --------------------------------------------------------
--
-- Table structure for table `datatokens`
--
-- --------------------------------------------------------
--
-- Table structure for table `electricityid`
--
--
-- Dumping data for table `electricityid`
--
-- --------------------------------------------------------
--
-- Table structure for table `examid`
--
--
-- Dumping data for table `examid`
--
-- --------------------------------------------------------
--
-- Table structure for table `networkid`
--
--
-- Dumping data for table `networkid`
--
-- --------------------------------------------------------
--
-- Table structure for table `notifications`
--
--
-- Dumping data for table `notifications`
--
-- --------------------------------------------------------
--
-- Table structure for table `sitesettings`
--
--
-- Dumping data for table `sitesettings`
--
-- --------------------------------------------------------
--
-- Table structure for table `subscribers`
--
CREATE TABLE `subscribers` (
`sId` int(200) NOT NULL,
`sApiKey` varchar(200) NOT NULL,
`sFname` varchar(50) NOT NULL,
`sLname` varchar(50) NOT NULL,
`sEmail` varchar(50) DEFAULT NULL,
`sPhone` varchar(20) NOT NULL,
`sPass` varchar(150) NOT NULL,
`sState` varchar(50) NOT NULL,
`sPin` int(10) NOT NULL DEFAULT 1234,
`sPinStatus` tinyint(3) DEFAULT 0,
`sType` tinyint(10) NOT NULL DEFAULT 1,
`sWallet` float NOT NULL DEFAULT 0,
`sRefWallet` float NOT NULL DEFAULT 0,
`sBankNo` varchar(20) DEFAULT NULL,
`sRolexBank` varchar(20) DEFAULT NULL,
`sSterlingBank` varchar(20) DEFAULT NULL,
`sFidelityBank` varchar(20) DEFAULT NULL,
`sBankName` varchar(30) DEFAULT NULL,
`sRegStatus` tinyint(5) NOT NULL DEFAULT 3,
`sVerCode` smallint(20) NOT NULL DEFAULT 0,
`sRegDate` datetime NOT NULL DEFAULT current_timestamp(),
`sLastActivity` datetime DEFAULT NULL,
`sReferal` varchar(15) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
--
-- Dumping data for table `subscribers`
--
-- --------------------------------------------------------
--
-- Table structure for table `sysusers`
--
-- --------------------------------------------------------
--
-- Table structure for table `transactions`
--
-- --------------------------------------------------------
--
-- Table structure for table `userlogin`
--
--
-- Dumping data for table `userlogin`
--
-- --------------------------------------------------------
--
-- Table structure for table `uservisits`
--
--
-- Indexes for dumped tables
--
--
-- Indexes for table `airtime`
--
ALTER TABLE `airtime`
ADD PRIMARY KEY (`aId`);
--
-- Indexes for table `airtimepinprice`
--
ALTER TABLE `airtimepinprice`
ADD PRIMARY KEY (`aId`);
--
-- Indexes for table `alphatopupprice`
--
ALTER TABLE `alphatopupprice`
ADD PRIMARY KEY (`alphaId`);
--
-- Indexes for table `apiconfigs`
--
ALTER TABLE `apiconfigs`
ADD PRIMARY KEY (`aId`);
--
-- Indexes for table `apilinks`
--
ALTER TABLE `apilinks`
ADD PRIMARY KEY (`aId`);
--
-- Indexes for table `cableid`
--
ALTER TABLE `cableid`
ADD PRIMARY KEY (`cId`);
--
-- Indexes for table `cableplans`
--
ALTER TABLE `cableplans`
ADD PRIMARY KEY (`cpId`);
--
-- Indexes for table `contact`
--
ALTER TABLE `contact`
ADD PRIMARY KEY (`msgId`);
--
-- Indexes for table `datapins`
--
ALTER TABLE `datapins`
ADD PRIMARY KEY (`dpId`);
--
-- Indexes for table `dataplans`
--
ALTER TABLE `dataplans`
ADD PRIMARY KEY (`pId`);
--
-- Indexes for table `datatokens`
--
ALTER TABLE `datatokens`
ADD PRIMARY KEY (`tId`);
--
-- Indexes for table `electricityid`
--
ALTER TABLE `electricityid`
ADD PRIMARY KEY (`eId`);
--
-- Indexes for table `examid`
--
ALTER TABLE `examid`
ADD PRIMARY KEY (`eId`);
--
-- Indexes for table `networkid`
--
ALTER TABLE `networkid`
ADD PRIMARY KEY (`nId`);
--
-- Indexes for table `notifications`
--
ALTER TABLE `notifications`
ADD PRIMARY KEY (`msgId`);
--
-- Indexes for table `sitesettings`
--
ALTER TABLE `sitesettings`
ADD PRIMARY KEY (`sId`);
--
-- Indexes for table `subscribers`
--
ALTER TABLE `subscribers`
ADD PRIMARY KEY (`sId`),
ADD UNIQUE KEY `sApiKey` (`sApiKey`),
ADD UNIQUE KEY `sPhone` (`sPhone`),
ADD UNIQUE KEY `sEmail` (`sEmail`);
--
-- Indexes for table `sysusers`
--
ALTER TABLE `sysusers`
ADD PRIMARY KEY (`sysId`);
--
-- Indexes for table `transactions`
--
ALTER TABLE `transactions`
ADD PRIMARY KEY (`tId`),
ADD UNIQUE KEY `transref` (`transref`);
--
-- Indexes for table `userlogin`
--
ALTER TABLE `userlogin`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `uservisits`
--
ALTER TABLE `uservisits`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `airtime`
--
ALTER TABLE `airtime`
MODIFY `aId` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `airtimepinprice`
--
ALTER TABLE `airtimepinprice`
MODIFY `aId` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `alphatopupprice`
--
ALTER TABLE `alphatopupprice`
MODIFY `alphaId` int(200) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `apiconfigs`
--
ALTER TABLE `apiconfigs`
MODIFY `aId` int(200) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78;
--
-- AUTO_INCREMENT for table `apilinks`
--
ALTER TABLE `apilinks`
MODIFY `aId` int(200) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;
--
-- AUTO_INCREMENT for table `cableid`
--
ALTER TABLE `cableid`
MODIFY `cId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `cableplans`
--
ALTER TABLE `cableplans`
MODIFY `cpId` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT for table `contact`
--
ALTER TABLE `contact`
MODIFY `msgId` int(200) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `datapins`
--
ALTER TABLE `datapins`
MODIFY `dpId` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `dataplans`
--
ALTER TABLE `dataplans`
MODIFY `pId` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `datatokens`
--
ALTER TABLE `datatokens`
MODIFY `tId` int(100) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `electricityid`
--
ALTER TABLE `electricityid`
MODIFY `eId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `examid`
--
ALTER TABLE `examid`
MODIFY `eId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `networkid`
--
ALTER TABLE `networkid`
MODIFY `nId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `notifications`
--
ALTER TABLE `notifications`
MODIFY `msgId` int(200) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `sitesettings`
--
ALTER TABLE `sitesettings`
MODIFY `sId` int(200) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `subscribers`
--
ALTER TABLE `subscribers`
MODIFY `sId` int(200) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `sysusers`
--
ALTER TABLE `sysusers`
MODIFY `sysId` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `transactions`
--
ALTER TABLE `transactions`
MODIFY `tId` int(200) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `userlogin`
--
ALTER TABLE `userlogin`
MODIFY `id` int(200) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `uservisits`
--
ALTER TABLE `uservisits`
MODIFY `id` int(200) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;