-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 23, 2025 at 12:43 PM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 7.4.27

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: `dash7`
--

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

--
-- Table structure for table `landingpagelogs`
--

CREATE TABLE `landingpagelogs` (
  `Id` int(11) NOT NULL,
  `LandingPageId` int(11) NOT NULL,
  `Status` tinyint(1) NOT NULL,
  `DateTime` datetime(6) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `landingpagelogs`
--
ALTER TABLE `landingpagelogs`
  ADD PRIMARY KEY (`Id`),
  ADD KEY `IX_LandingPageLogs_LandingPageId` (`LandingPageId`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `landingpagelogs`
--
ALTER TABLE `landingpagelogs`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `landingpagelogs`
--
ALTER TABLE `landingpagelogs`
  ADD CONSTRAINT `FK_LandingPageLogs_LandingPage_LandingPageId` FOREIGN KEY (`LandingPageId`) REFERENCES `landingpage` (`Id`) ON DELETE CASCADE;
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 */;
