Description
概要
位置登録の詳細ログを本番に反映する用のPRです。
テスト方法、確認した内容
余分な更新を含まないか
テーブル作成クエリ
CREATE TABLE `log_user_location_detail` (
`user_no` int(11) NOT NULL,
`position_id` int(11) NOT NULL,
`area_id` int(11) NOT NULL,
`longitude` float NOT NULL,
`latitude` float NOT NULL,
`altitude` float DEFAULT '0',
`accuracy` float DEFAULT '0',
`altitudeAccuracy` int(11) DEFAULT NULL,
`heading` int(11) DEFAULT NULL,
`speed` int(11) DEFAULT NULL,
`server_user_agent` char(255) DEFAULT NULL,
`browser_user_agent` char(255) DEFAULT NULL,
`reg_date` int(11) NOT NULL,
UNIQUE KEY `user_no` (`user_no`,`position_id`),
KEY `reg_date` (`reg_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;TODO
リリース後、実際に位置登録をして問題がないかとデータの入り方を監視。