Skip to content

Data history policy(データ履歴の方針)

Mitsuru Mutaguchi edited this page Jun 15, 2021 · 13 revisions

Request(要求)

  • Both temporary data and confirmed data
    (一時データと確認済みデータの両方)
  • Both data awaiting approval and confirmed data
    (承認待ちデータと確認済みデータの両方)
  • Preview reflecting data waiting for approval
    (承認待ちのデータを反映したプレビュー)
  • Reuse past data (add history without deleting)
    (過去のデータを再利用(削除せずに履歴を追加))
  • Conditional data cleaning (management function)
    (条件付きデータクリーニング(管理機能))

Poicy(方針)

  • Managed with Active flag (WYSIWYG only)
    (Activeフラグで管理(WYSIWYGのみ))

Implementation(実装)

  • Has an Status flag
    (状態フラグを持つ)
  • Flag contents(フラグ内容 )
    0:Active(表示)
    1:Temporary(一時保存)
    2:Approval pending(承認待ち)
    9:History(履歴)
    app/Enums/StatusType.php

Delete(削除)

  • Data deletion has the same meaning as status 9.
    (データ削除は、ステータス9と同じ意味を持ちます。)
Clone this wiki locally