Files
cake-contact-us/tests/schema.sql

26 lines
902 B
MySQL
Raw Normal View History

2025-01-09 23:47:18 -08:00
-- Test database schema for CakeContactUs
CREATE TABLE `contact_us_form_submissions`
(
`id` char(36) NOT NULL,
`submitted_at` datetime NOT NULL,
`client_ip` varchar(45) DEFAULT NULL,
`first_name` varchar(255) DEFAULT NULL,
`last_name` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`contact_subject` varchar(255) DEFAULT NULL,
`message` text NOT NULL,
`confirm_email_sent` datetime DEFAULT NULL,
`backend_email_sent` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
);
2026-01-28 01:33:24 -08:00
CREATE TABLE `captchas` (
`id` int(11) NOT NULL,
`session_id` varchar(255) NOT NULL,
`ip` varchar(255) NOT NULL,
`image` blob DEFAULT NULL,
`result` varchar(255) DEFAULT NULL,
`created` datetime DEFAULT NULL,
`used` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
);