-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 18, 2023 at 01:46 PM
-- Server version: 10.4.27-MariaDB
-- PHP Version: 8.2.0

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: `photoboosty`
--

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

--
-- Table structure for table `gallery`
--

CREATE TABLE `gallery` (
  `id` int(10) UNSIGNED NOT NULL,
  `image_name` text NOT NULL,
  `id_user` text DEFAULT NULL,
  `image_path` text NOT NULL,
  `uploaded_date` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=ucs2 COLLATE=ucs2_latvian_ci;

--
-- Dumping data for table `gallery`
--

INSERT INTO `gallery` (`id`, `image_name`, `id_user`, `image_path`, `uploaded_date`) VALUES
(4, 'ADR02506.jpg', '150001', 'uploads/ADR02506.jpg', '2023-05-01 23:39:26'),
(6, 'ADR02596.jpg', '150001', 'uploads/ADR02596.jpg', '2023-05-01 23:49:40'),
(56, 'ADR02598.jpg', '150007', 'uploads/ADR02598.jpg', '2023-05-17 15:35:55'),
(49, 'IMG_4137.jpeg', '150007', 'uploads/IMG_4137.jpeg', '2023-05-17 14:19:41'),
(48, 'IMG_4128.jpeg', '150007', 'uploads/IMG_4128.jpeg', '2023-05-17 14:19:31'),
(46, 'IMG_7569.jpeg', '150007', 'uploads/IMG_7569.jpeg', '2023-05-17 14:19:04'),
(16, 'Ekrānuzņēmums (10).png', '150001', 'uploads/Ekrānuzņēmums (10).png', '2023-05-02 02:42:06'),
(17, 'Ekrānuzņēmums (7).png', '150005', 'uploads/Ekrānuzņēmums (7).png', '2023-05-02 03:48:38'),
(18, 'Ekrānuzņēmums (9).png', '150005', 'uploads/Ekrānuzņēmums (9).png', '2023-05-02 03:51:30'),
(19, 'Ekrānuzņēmums (9).png', '150005', 'uploads/Ekrānuzņēmums (9).png', '2023-05-02 03:51:51'),
(20, 'ADR02504.jpg', '150005', 'uploads/ADR02504.jpg', '2023-05-02 04:01:50'),
(23, 'Ekrānuzņēmums (9).png', '150006', 'uploads/Ekrānuzņēmums (9).png', '2023-05-02 04:25:45'),
(24, 'stikers uz auto.jpeg', '150006', 'uploads/stikers uz auto.jpeg', '2023-05-02 04:26:15'),
(25, 'ADR02594.jpg', '150006', 'uploads/ADR02594.jpg', '2023-05-02 04:28:38'),
(26, 'ADR02506.jpg', '150006', 'uploads/ADR02506.jpg', '2023-05-02 10:59:55'),
(52, 'IMG_4063.jpeg', '150007', 'uploads/IMG_4063.jpeg', '2023-05-17 14:20:32'),
(53, 'IMG_4131.jpeg', '150007', 'uploads/IMG_4131.jpeg', '2023-05-17 14:21:39'),
(54, 'IMG_4057.jpeg', '150007', 'uploads/IMG_4057.jpeg', '2023-05-17 14:21:50'),
(60, 'ADR02506.jpg', '150004', 'uploads/ADR02506.jpg', '2023-05-17 15:41:29'),
(61, 'ADR02504.jpg', '150004', 'uploads/ADR02504.jpg', '2023-05-17 15:42:23');

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

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `username` text NOT NULL,
  `password` text NOT NULL,
  `vards` text NOT NULL,
  `uzvards` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=ucs2 COLLATE=ucs2_latvian_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `username`, `password`, `vards`, `uzvards`) VALUES
(150005, 'lala', 'lala', 'lala', 'lll'),
(150000, 'admin', 'admin', 'sintija', 'sintija'),
(150001, 'gege', 'gege', 'gege', 'gege'),
(150003, 'geeg', 'gege', 'geg', 'geg'),
(150004, 'ParksideAdmin1', 'Parkside1', 'ParksideAdmin', '1'),
(150006, '1', '1', 'Sintija', 'Lakutijevska'),
(150007, 'sintijalote', 'Viktorij@', 'Sintija', 'Lakutijevska'),
(150008, '', '', '', '');

--
-- Indexes for dumped tables
--

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `gallery`
--
ALTER TABLE `gallery`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=62;

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