Skip to content

日付更新時にUserテーブル等の情報を更新するコードを書く #52

Description

@Neon-straySheep

時刻が0:00になった時

  • 昨日のすれ違いを消去する必要があるので、model Encountersテーブルの!nullの存在を全て無くす
  • "昨日の歩数"が"一昨日の歩数"になってしまうので、(おそらく)Userテーブルにあるはずの"今日の歩数"を"昨日の歩数"に写し、"今日の歩数"の値を初期化する

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions