qr_id route php getDog

This commit is contained in:
2022-12-15 23:32:34 +01:00
parent 01190c5ff2
commit a1727381ba
18 changed files with 381 additions and 10 deletions

BIN
docs/dog-face.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Erstellungszeit: 14. Dez 2022 um 22:08
-- Erstellungszeit: 15. Dez 2022 um 22:02
-- Server-Version: 10.4.27-MariaDB
-- PHP-Version: 8.1.12
@ -18,7 +18,7 @@ SET time_zone = "+00:00";
/*!40101 SET NAMES utf8mb4 */;
--
-- Datenbank: `dog`
-- Datenbank: `k200835_dog`
--
-- --------------------------------------------------------
@ -29,13 +29,13 @@ SET time_zone = "+00:00";
CREATE TABLE `dogs` (
`id` int(11) NOT NULL,
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`qr_id` char(31) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
`qr_code` mediumblob NOT NULL,
`picture` mediumblob NOT NULL
`email` varchar(255) NOT NULL,
`qr_id` char(31) NOT NULL,
`name` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`phone` varchar(255) NOT NULL,
`qr_code` mediumblob DEFAULT NULL,
`picture` mediumblob DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
@ -49,6 +49,16 @@ ALTER TABLE `dogs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `index_qr_id` (`qr_id`),
ADD UNIQUE KEY `index_email` (`email`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `dogs`
--
ALTER TABLE `dogs`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

1
docs/options.json Normal file

File diff suppressed because one or more lines are too long

BIN
docs/qr-hope-fly.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
docs/qr-localhost-3000.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
docs/qr-localhost.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB