-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 02, 2026 at 05:39 PM
-- Server version: 10.4.27-MariaDB
-- PHP Version: 7.4.33

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

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

--
-- Table structure for table `sit_site_details`
--

CREATE TABLE `sit_site_details` (
  `id` int(11) NOT NULL,
  `site_name` varchar(512) NOT NULL,
  `contact_name` varchar(256) NOT NULL,
  `client_status` tinyint(4) NOT NULL,
  `emergency_client_name` varchar(512) NOT NULL,
  `emergency_client_number` varchar(50) NOT NULL,
  `conflict_check_completed` tinyint(4) NOT NULL,
  `conflict_check_date` datetime NOT NULL,
  `date_created` datetime NOT NULL,
  `client_notes` text NOT NULL,
  `is_archive` tinyint(4) NOT NULL DEFAULT 0,
  `archived_on` datetime DEFAULT NULL,
  `archived_by` int(11) DEFAULT NULL,
  `created_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) DEFAULT NULL,
  `updated_on` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sit_site_details`
--

INSERT INTO `sit_site_details` (`id`, `site_name`, `contact_name`, `client_status`, `emergency_client_name`, `emergency_client_number`, `conflict_check_completed`, `conflict_check_date`, `date_created`, `client_notes`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, '1', 'contact name', 1, 'client name', '7894561230', 1, '2026-04-02 00:00:00', '2026-04-02 00:00:00', 'testing', 0, NULL, NULL, '2026-04-02 10:09:27', 1, '2026-04-02 10:17:49', 1);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `sit_site_details`
--
ALTER TABLE `sit_site_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `id` (`id`),
  ADD KEY `site_name` (`site_name`),
  ADD KEY `is_archive` (`is_archive`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `sit_site_details`
--
ALTER TABLE `sit_site_details`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
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 */;
