PR

【8/31】位置登録時詳細ログ記録対応 #2246

kouho opened this at 2022-08-31T14:52:42; closed

Description

opened by kouho at 2022-08-31T14:52:42; updated 2022-08-31T18:16:20

概要

位置登録の詳細ログを本番に反映する用の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

リリース後、実際に位置登録をして問題がないかとデータの入り方を監視。

Comment

#21983 by kouho at 2022-08-31T14:52:57; updated 2022-08-31T14:52:57

@wada
念の為確認をお願いいたします

Comment

#21994 by wada at 2022-08-31T16:24:19; updated 2022-08-31T16:24:19

@kouho
確認OKです。

wada add_label at 2022-08-31T16:24:22: 和田 LGTM
kouho merge at 2022-08-31T18:16:20: 【8/31】位置登録時詳細ログ記録対応
kouho close at 2022-08-31T18:16:20: Close

Commit range

based92119c361f8f8696cf34e115c38233350e22cd3
head91e41d0c25631d982a6519dee08db05637955908
base branchjolly/jr-web:master
head branchjolly/jr-web:log_location_detail

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed4 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/conf/define_y.inc
modifiedlib/public/Area-Set.inc
modifiedpublic_html/template/Main-Location.tpl
Patch body is stored as a separate file to keep this page lightweight.