-- phpMyAdmin SQL Dump -- version 5.2.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jan 02, 2025 at 09:09 AM -- 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: `luxa` -- -- -------------------------------------------------------- -- -- Table structure for table `components` -- CREATE TABLE `components` ( `id` int(11) NOT NULL, `pid` int(11) NOT NULL, `component_title` tinytext NOT NULL, `component_text` longtext NOT NULL, `component_image` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `components` -- INSERT INTO `components` (`id`, `pid`, `component_title`, `component_text`, `component_image`) VALUES (1, 1, 'This is a component', 'This is a component text.', 'thumb.png'), (2, 2, 'Contact', 'Contact us via e-mail, chat, or telephone.', 'thumb.png'); -- -------------------------------------------------------- -- -- Table structure for table `pages` -- CREATE TABLE `pages` ( `id` int(11) NOT NULL, `page_name` varchar(255) NOT NULL, `sub` int(11) NOT NULL, `ordering` int(11) NOT NULL, `meta_title` text NOT NULL, `meta_description` text NOT NULL, `meta_tags` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `pages` -- INSERT INTO `pages` (`id`, `page_name`, `sub`, `ordering`, `meta_title`, `meta_description`, `meta_tags`) VALUES (1, '/index/', 0, 1, 'test', 'this is a test', 'test, test'), (2, '/contact/', 0, 5, 'Contact us', 'Contact us', 'contact'), (3, '/about-us/', 0, 2, 'About us', 'About us', 'About us, who we are'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `username` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `role` int(11) NOT NULL, `attempts` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `password`, `role`, `attempts`) VALUES (1, 'admin', '$2y$10$ooXjcp5z6QaLr25rFNabiuP.G6i.EE.Ot4phvNrPYe0kmTOO24g0.', 1, 0); -- -- Indexes for dumped tables -- -- -- Indexes for table `components` -- ALTER TABLE `components` ADD PRIMARY KEY (`id`); -- -- Indexes for table `pages` -- ALTER TABLE `pages` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `components` -- ALTER TABLE `components` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `pages` -- ALTER TABLE `pages` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; 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 */;