-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 03, 2025 at 03:52 PM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.2.12

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `divar`
--

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

--
-- Table structure for table `agahi`
--

CREATE TABLE `agahi` (
  `id` int(11) NOT NULL,
  `name` varchar(300) NOT NULL,
  `karkard` varchar(100) NOT NULL,
  `price` varchar(8) NOT NULL,
  `saat` varchar(5) NOT NULL,
  `image` varchar(1000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_persian_ci;

--
-- Dumping data for table `agahi`
--

INSERT INTO `agahi` (`id`, `name`, `karkard`, `price`, `saat`, `image`) VALUES
(1, 'mobile', '2 years', '50m', '3:15', 'iphone'),
(5, 'lebas', '2 mah', '100000', 'دقایق', 'uploads/68515856.jpg');

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

--
-- Table structure for table `smscode`
--

CREATE TABLE `smscode` (
  `id` int(11) NOT NULL,
  `mobile` varchar(15) NOT NULL,
  `smscode` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_persian_ci;

--
-- Dumping data for table `smscode`
--

INSERT INTO `smscode` (`id`, `mobile`, `smscode`) VALUES
(0, '9120771566', '851395');

--
-- Indexes for dumped tables
--

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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