RuoYi-Vue-Plus/ruoyi-site/ruoyi-h5/doc/h5_form_submission.sql
2025-11-25 17:05:23 +08:00

14 lines
892 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

CREATE TABLE `h5_form_submission`
(
id bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
project_id bigint NOT NULL COMMENT 'H5Project的ID',
ip_address bigint UNSIGNED DEFAULT NULL COMMENT '提交者IP地址',
user_agent varchar(512) DEFAULT NULL COMMENT '用户代理信息',
form_data JSON NOT NULL COMMENT '表单数据JSON格式存储',
`create_time` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间戳',
`update_time` DATETIME ON UPDATE CURRENT_TIMESTAMP NULL COMMENT '更新时间戳',
PRIMARY KEY (id),
KEY `idx_project_id` (project_id)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4 COMMENT ='表单提交记录表';