diff --git a/1725331388_create_share_scan_log.up.sql b/1725331388_create_share_scan_log.up.sql new file mode 100644 index 0000000..9726b6f --- /dev/null +++ b/1725331388_create_share_scan_log.up.sql @@ -0,0 +1,9 @@ +CREATE TABLE `ufutx_share_scan_log` ( + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `from_user_id` int(11) NOT NULL COMMENT '邀请人id', + `open_id` varchar(50) NOT NULL COMMENT 'open_id', + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `from_user_id` (`from_user_id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='扫码邀请记录'; \ No newline at end of file