1
0

fixing accountpunishment sql

This commit is contained in:
labalityowo
2023-05-24 11:21:22 +07:00
parent b4d40165a3
commit 132a8318a0

View File

@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 21, 2023 at 09:35 AM
-- Generation Time: May 24, 2023 at 06:19 AM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 7.4.27
@ -179,7 +179,7 @@ CREATE TABLE `accountpolls` (
CREATE TABLE `accountpunishments` (
`id` int(11) NOT NULL,
`target` varchar(20) NOT NULL,
`accountId` int(11) NOT NULL,
`category` varchar(255) NOT NULL,
`sentence` varchar(255) NOT NULL,
`reason` varchar(255) NOT NULL,
@ -662,6 +662,20 @@ CREATE TABLE `reports` (
-- --------------------------------------------------------
--
-- Table structure for table `salesannouncements`
--
CREATE TABLE `salesannouncements` (
`id` int(11) NOT NULL,
`ranks` varchar(250) DEFAULT NULL,
`message` varchar(256) DEFAULT NULL,
`enabled` tinyint(1) DEFAULT NULL,
`clans` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `specificyoutube`
--
@ -727,40 +741,6 @@ CREATE TABLE `youtube` (
`clicktime` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Table structure for table `salesannouncements`
--
CREATE TABLE `salesannouncements` (
`id` int(11) NOT NULL,
`ranks` varchar(250) DEFAULT NULL,
`message` varchar(256) DEFAULT NULL,
`enabled` tinyint(1) DEFAULT NULL,
`clans` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `salesannouncements`
--
ALTER TABLE `salesannouncements`
ADD PRIMARY KEY (`id`),
ADD KEY `typeIndex` (`clans`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `salesannouncements`
--
ALTER TABLE `salesannouncements`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
--
-- Indexes for dumped tables
--
@ -885,6 +865,13 @@ ALTER TABLE `rankbenefits`
ALTER TABLE `reports`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `salesannouncements`
--
ALTER TABLE `salesannouncements`
ADD PRIMARY KEY (`id`),
ADD KEY `typeIndex` (`clans`);
--
-- Indexes for table `stats`
--
@ -905,7 +892,7 @@ ALTER TABLE `accountfriend`
-- AUTO_INCREMENT for table `accountinventory`
--
ALTER TABLE `accountinventory`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `accountpolls`
@ -913,29 +900,23 @@ ALTER TABLE `accountinventory`
ALTER TABLE `accountpolls`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `accountpunishments`
--
ALTER TABLE `accountpunishments`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `accountranks`
--
ALTER TABLE `accountranks`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `accounts`
--
ALTER TABLE `accounts`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `bonus`
--
ALTER TABLE `bonus`
MODIFY `accountId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
MODIFY `accountId` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `botspam`
@ -979,6 +960,12 @@ ALTER TABLE `rankbenefits`
ALTER TABLE `reports`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `salesannouncements`
--
ALTER TABLE `salesannouncements`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `stats`
--
@ -1030,4 +1017,4 @@ 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 */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;