Some checks failed
CI / testsuite (mysql, 8.2, ) (push) Successful in 13m24s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 13m28s
CI / testsuite (mysql, 8.4, ) (push) Successful in 16m19s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 13m4s
CI / testsuite (pgsql, 8.4, ) (push) Has started running
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Has started running
CI / testsuite (sqlite, 8.4, ) (push) Has started running
CI / Coding Standard & Static Analysis (push) Has been cancelled
26 lines
902 B
SQL
26 lines
902 B
SQL
-- 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`)
|
|
);
|
|
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`)
|
|
);
|