-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 02, 2026 at 05:38 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 `comp_contact_details`
--

CREATE TABLE IF NOT EXISTS `comp_contact_details` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `company_id` int(11) NOT NULL,
  `contact_first_name` varchar(256) NOT NULL,
  `contact_last_name` varchar(256) NOT NULL,
  `contact_full_name` varchar(256) DEFAULT NULL,
  `contact_prevoius_name` varchar(256) NOT NULL,
  `contact_dob` datetime NOT NULL,
  `contact_email` varchar(256) NOT NULL,
  `contact_phone` varchar(25) NOT NULL,
  `alter_contact_phone` varchar(25) NOT NULL,
  `contact_add1` varchar(512) NOT NULL,
  `contact_add2` varchar(512) NOT NULL,
  `contact_city` varchar(256) NOT NULL,
  `contact_postcode` varchar(25) NOT NULL,
  `contact_type` int(11) NOT NULL,
  `contact_date_created` datetime NOT NULL,
  `contact_info` text NOT NULL,
  `is_archive` tinyint(1) NOT NULL,
  `archived_on` datetime NOT NULL,
  `archived_by` int(11) NOT NULL,
  `created_on` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `updated_on` datetime NOT NULL,
  `updated_by` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `company_id` (`company_id`),
  KEY `id` (`id`),
  KEY `contact_type` (`contact_type`),
  KEY `is_archive` (`is_archive`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `comp_contact_details`
--

INSERT INTO `comp_contact_details` (`id`, `company_id`, `contact_first_name`, `contact_last_name`, `contact_full_name`, `contact_prevoius_name`, `contact_dob`, `contact_email`, `contact_phone`, `alter_contact_phone`, `contact_add1`, `contact_add2`, `contact_city`, `contact_postcode`, `contact_type`, `contact_date_created`, `contact_info`, `is_archive`, `archived_on`, `archived_by`, `created_on`, `created_by`, `updated_on`, `updated_by`) VALUES
(1, 1, 'abd', 'test', 'abd test', 'nothing', '2026-03-26 00:00:00', 'WALL_NSohMjQ6JgshXCI5IzljMyA7', 'WALL_Y3B8ZWB/cnl1fw==', 'WALL_', 'add 1', 'add 2', 'Alld', '211003', 48, '2026-03-26 00:00:00', 'notes...', 0, '0000-00-00 00:00:00', 0, '2026-03-26 20:19:55', 1, '2026-03-26 21:03:09', 1);
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 */;
