137 lines
3.5 KiB
SQL
137 lines
3.5 KiB
SQL
-- phpMyAdmin SQL Dump
|
|
-- version 5.2.1
|
|
-- https://www.phpmyadmin.net/
|
|
--
|
|
-- Host: localhost
|
|
-- Generation Time: Nov 19, 2025 at 08:57 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: `mallar`
|
|
--
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `accounts`
|
|
--
|
|
|
|
CREATE TABLE `accounts` (
|
|
`id` int(11) NOT NULL,
|
|
`username` varchar(16) DEFAULT NULL,
|
|
`password` text DEFAULT NULL,
|
|
`bio` varchar(150) NOT NULL DEFAULT 'Hi! I''m new to quacking!',
|
|
`rank` int(11) DEFAULT 1,
|
|
`level_exp` int(11) DEFAULT 0,
|
|
`level` int(11) DEFAULT 1,
|
|
`date_created` timestamp NULL DEFAULT current_timestamp()
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
|
|
--
|
|
-- Dumping data for table `accounts`
|
|
--
|
|
|
|
INSERT INTO `accounts` (`id`, `username`, `password`, `bio`, `rank`, `level_exp`, `level`, `date_created`) VALUES
|
|
(1, 'goom', '$2y$10$Zn6Zb4msPzvvOoP.iM0WkuvmFnfAeczFWDLS7OEHjlJpo1qfL0c3W', '', 1, 0, 1, '2025-11-07 03:25:51'),
|
|
(2, 'poo', '$2y$10$DHs.Kc5YP.FUQQahXOV4LOAlsREMrSLBT73dyz4SfSQiSbt4mIaMa', 'Hi! I\'m new to quacking!', 1, 0, 1, '2025-11-12 23:20:34');
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `applications`
|
|
--
|
|
|
|
CREATE TABLE `applications` (
|
|
`id` int(11) NOT NULL,
|
|
`username` tinytext NOT NULL,
|
|
`email` varchar(320) NOT NULL DEFAULT '',
|
|
`context` text NOT NULL,
|
|
`where_heard` text NOT NULL,
|
|
`status` varchar(50) NOT NULL DEFAULT 'pending',
|
|
`reason` text DEFAULT NULL
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `posts`
|
|
--
|
|
|
|
CREATE TABLE `posts` (
|
|
`id` int(11) NOT NULL,
|
|
`title` varchar(60) DEFAULT NULL,
|
|
`content` varchar(2500) DEFAULT NULL,
|
|
`date` timestamp NULL DEFAULT current_timestamp(),
|
|
`author` varchar(16) NOT NULL,
|
|
`type` int(11) DEFAULT NULL
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
|
|
|
--
|
|
-- Dumping data for table `posts`
|
|
--
|
|
|
|
INSERT INTO `posts` (`id`, `title`, `content`, `date`, `author`, `type`) VALUES
|
|
(12, '', 'I'm eating eggs', '2025-11-12 23:23:21', 'goom', 1),
|
|
(15, '', 'Whats up', '2025-11-17 07:43:20', 'goom', 1),
|
|
(17, '', 'Poop', '2025-11-17 08:41:48', 'goom', 1);
|
|
|
|
--
|
|
-- Indexes for dumped tables
|
|
--
|
|
|
|
--
|
|
-- Indexes for table `accounts`
|
|
--
|
|
ALTER TABLE `accounts`
|
|
ADD PRIMARY KEY (`id`);
|
|
|
|
--
|
|
-- Indexes for table `applications`
|
|
--
|
|
ALTER TABLE `applications`
|
|
ADD PRIMARY KEY (`id`);
|
|
|
|
--
|
|
-- Indexes for table `posts`
|
|
--
|
|
ALTER TABLE `posts`
|
|
ADD PRIMARY KEY (`id`) USING BTREE;
|
|
|
|
--
|
|
-- AUTO_INCREMENT for dumped tables
|
|
--
|
|
|
|
--
|
|
-- AUTO_INCREMENT for table `accounts`
|
|
--
|
|
ALTER TABLE `accounts`
|
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
|
|
|
|
--
|
|
-- AUTO_INCREMENT for table `applications`
|
|
--
|
|
ALTER TABLE `applications`
|
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
|
|
|
--
|
|
-- AUTO_INCREMENT for table `posts`
|
|
--
|
|
ALTER TABLE `posts`
|
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
|
|
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 */;
|