-- phpMyAdmin SQL Dump -- version 5.2.2 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Dec 09, 2025 at 07:50 AM -- Server version: 5.7.44-48 -- PHP Version: 8.3.26 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: `onlclabs_ContactMgmtDB` -- -- -------------------------------------------------------- -- -- Table structure for table `Contacts` -- CREATE TABLE `Contacts` ( `Id` int(11) NOT NULL, `FirstName` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `LastName` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, `Email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, `PhoneNumber` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL, `Address` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `Company` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `JobTitle` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `Notes` text COLLATE utf8mb4_unicode_ci, `IsFavorite` tinyint(1) NOT NULL DEFAULT '0', `DateCreated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `DateModified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `Contacts` -- INSERT INTO `Contacts` (`Id`, `FirstName`, `LastName`, `Email`, `PhoneNumber`, `Address`, `Company`, `JobTitle`, `Notes`, `IsFavorite`, `DateCreated`, `DateModified`) VALUES (1, 'John', 'Doe', 'john.doe@example.com', '555-0101', '123 Main St, Springfield, IL 62701', 'Tech Corp', 'Software Developer', 'Primary contact for backend development projects', 1, '2024-01-15 10:30:00', '2024-01-15 10:30:00'), (2, 'Jane', 'Smith', 'jane.smith@example.com', '555-0102', '456 Oak Ave, Portland, OR 97201', 'Design Studio', 'UI/UX Designer', 'Excellent designer, available for freelance work', 0, '2024-02-10 14:15:00', '2024-02-10 14:15:00'), (3, 'Robert', 'Johnson', 'robert.johnson@example.com', '555-0103', '789 Pine Rd, Austin, TX 78701', 'Tech Corp', 'Project Manager', 'Manages all client-facing projects', 1, '2024-03-05 09:00:00', '2024-03-05 09:00:00'), (4, 'Emily', 'Davis', 'emily.davis@example.com', '555-0104', '321 Elm St, Seattle, WA 98101', 'Startup Inc', 'CEO', 'Founded successful startup in 2020', 1, '2024-03-20 11:45:00', '2024-03-20 11:45:00'), (5, 'Michael', 'Wilson', 'michael.wilson@example.com', '555-0105', '654 Maple Dr, Boston, MA 02101', 'Consulting Group', 'Senior Consultant', 'Specializes in digital transformation', 0, '2024-04-01 08:30:00', '2024-04-01 08:30:00'); -- -- Indexes for dumped tables -- -- -- Indexes for table `Contacts` -- ALTER TABLE `Contacts` ADD PRIMARY KEY (`Id`), ADD UNIQUE KEY `IX_Contacts_Email` (`Email`), ADD KEY `IX_Contacts_LastName` (`LastName`), ADD KEY `IX_Contacts_LastName_FirstName` (`LastName`,`FirstName`), ADD KEY `IX_Contacts_Company` (`Company`), ADD KEY `IX_Contacts_IsFavorite` (`IsFavorite`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `Contacts` -- ALTER TABLE `Contacts` MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; 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 */;