-- Create Database if it doesn't exist
CREATE DATABASE IF NOT EXISTS `userdb`;

USE `userdb`;

-- Create Table for contact form submissions
CREATE TABLE IF NOT EXISTS `contact_forms` (
  `id` INT AUTO_INCREMENT PRIMARY KEY,
  `full_name` VARCHAR(255) NOT NULL,
  `email` VARCHAR(255) NOT NULL,
  `phone` VARCHAR(20) NOT NULL,
  `business_type` VARCHAR(255) DEFAULT NULL,
  `message` TEXT NOT NULL,
  `created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
