-- https://www.phpmyadmin.net/
--

START TRANSACTION;



-- --------------------------------------------------------

--
-- Table structure for table `blog`
--

CREATE TABLE `blog` (
  `id` int(11) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp(),
  `title` text NOT NULL,
  `content` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `blog`
--

INSERT INTO `blog` (`id`, `date`, `title`, `content`) VALUES
(27, '2022-08-23 08:41:42', 'The Free QR Code Generator', 'No limitations. All generated QR codes will work forever, do not expire and have no scanning limits. The created QR codes are dynamic so you can edit the QR code again.');

-- --------------------------------------------------------

--
-- Table structure for table `users_qrcode`
--

CREATE TABLE `users_qrcode` (
  `id` int(11) NOT NULL,
  `userId` int(11) NOT NULL,
  `shareId` varchar(255) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp(),
  `content` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `users_qrcode`
--

INSERT INTO `users_qrcode` (`id`, `userId`, `shareId`, `date`, `content`) VALUES
(33, 4, 'KzF3ai8wb0VHUzBESVd3VGpNQlBoQT09', '2022-08-24 04:35:43', 'Test QR code'),
(34, 4, 'SktWZWV1MUtrWE5CZXNYdHdMamZLZz09', '2022-08-24 04:36:29', 'https://www.youtube.com/watch?v=rWsL52XCuAU');

--
-- Indexes for table `blog`
--
ALTER TABLE `blog`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users_qrcode`
--
ALTER TABLE `users_qrcode`
  ADD PRIMARY KEY (`id`),
  ADD KEY `userId` (`userId`);

--
-- AUTO_INCREMENT for table `blog`
--
ALTER TABLE `blog`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `users_qrcode`
--
ALTER TABLE `users_qrcode`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;
COMMIT;

