Dateien hochladen nach „“

This commit is contained in:
Manuel Kamper 2022-10-28 09:21:10 +00:00
parent fc4939e87a
commit 46afe388c6
1 changed files with 69 additions and 0 deletions

69
image_duplicates.sql Normal file
View File

@ -0,0 +1,69 @@
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
--
-- Datenbank: `image_duplicates`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `no_duplicates`
--
CREATE TABLE `no_duplicates` (
`id` int NOT NULL,
`pd_id` int NOT NULL,
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `possible_duplicates`
--
CREATE TABLE `possible_duplicates` (
`id` int NOT NULL,
`file1` varchar(255) NOT NULL,
`file2` varchar(255) NOT NULL,
`date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `no_duplicates`
--
ALTER TABLE `no_duplicates`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `pd_id` (`pd_id`);
--
-- Indizes für die Tabelle `possible_duplicates`
--
ALTER TABLE `possible_duplicates`
ADD PRIMARY KEY (`id`),
ADD KEY `file1` (`file1`),
ADD KEY `file2` (`file2`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `no_duplicates`
--
ALTER TABLE `no_duplicates`
MODIFY `id` int NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT für Tabelle `possible_duplicates`
--
ALTER TABLE `possible_duplicates`
MODIFY `id` int NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
COMMIT;