From 620dfeb406b68633dec4685a5066e9ad3854c289 Mon Sep 17 00:00:00 2001 From: shoma Date: Mon, 2 Mar 2026 11:37:07 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E6=97=A2=E5=AD=98=E3=81=AE=E3=82=B7?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=83=87=E3=83=BC=E3=82=BF=E3=81=AB=E7=B4=90?= =?UTF-8?q?=E3=81=A5=E3=81=91=E3=82=8B=E4=BC=91=E4=BC=9A=E6=83=85=E5=A0=B1?= =?UTF-8?q?=E3=82=92=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 休会情報を持たない休会中ユーザーが存在していたため 新しい休会情報を作成した --- db/fixtures/hibernations.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/db/fixtures/hibernations.yml b/db/fixtures/hibernations.yml index 1ef4a65688f..ec2ccde2b6a 100644 --- a/db/fixtures/hibernations.yml +++ b/db/fixtures/hibernations.yml @@ -11,3 +11,45 @@ hibernation2: reason: 学習時間が取れないため returned_at: 202l-09-01 00:00:00 created_at: 2022-01-10 00:00:02 + +hibernation3: + user: unhibernated + scheduled_return_on: <%= Time.current + 30.days %> + reason: 学習時間が取れないため + created_at: <%= Time.current - 13.days %> + +hibernation4: + user: autoretire-within-1-hour + scheduled_return_on: <%= Time.current + 30.days %> + reason: 学習時間が取れないため + created_at: <%= Time.current - 3.months + 30.minutes %> + +hibernation5: + user: autoretire-within-24-hour + scheduled_return_on: <%= Time.current + 30.days %> + reason: 学習時間が取れないため + created_at: <%= Time.current - 3.months + 23.hours %> + +hibernation6: + user: autoretire-within-1-week + scheduled_return_on: <%= Time.current + 30.days %> + reason: 学習時間が取れないため + created_at: <%= Time.current - 3.months + 1.week %> + +hibernation7: + user: autoretire-over-1-week + scheduled_return_on: <%= Time.current + 30.days %> + reason: 学習時間が取れないため + created_at: <%= Time.current - 3.months + 1.week + 1.day %> + +hibernation8: + user: not-autoretire + scheduled_return_on: <%= Time.current + 30.days %> + reason: 学習時間が取れないため + created_at: <%= Time.current - 6.months%> + +hibernation9: + user: nagai-kyuukai + scheduled_return_on: <%= Time.current + 30.days %> + reason: 学習時間が取れないため + created_at: <%= Time.current - 3.months %> From 6b34887956fd131253ed0da54a04ffe0a963eadd Mon Sep 17 00:00:00 2001 From: shoma Date: Mon, 2 Mar 2026 15:35:15 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=91=E4=BC=9A=E7=90=86=E7=94=B1?= =?UTF-8?q?=E3=82=92=E3=83=A9=E3=83=B3=E3=83=80=E3=83=A0=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 休会理由を同じにしていたが、共通化する理由があるのだろうかと勘違いされる 可能性があると感じ、修正した --- db/fixtures/hibernations.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/db/fixtures/hibernations.yml b/db/fixtures/hibernations.yml index ec2ccde2b6a..5b1a3ec870f 100644 --- a/db/fixtures/hibernations.yml +++ b/db/fixtures/hibernations.yml @@ -15,41 +15,41 @@ hibernation2: hibernation3: user: unhibernated scheduled_return_on: <%= Time.current + 30.days %> - reason: 学習時間が取れないため + reason: メンタル不調のため created_at: <%= Time.current - 13.days %> hibernation4: user: autoretire-within-1-hour scheduled_return_on: <%= Time.current + 30.days %> - reason: 学習時間が取れないため + reason: 家庭の事情 created_at: <%= Time.current - 3.months + 30.minutes %> hibernation5: user: autoretire-within-24-hour scheduled_return_on: <%= Time.current + 30.days %> - reason: 学習時間が取れないため + reason: 時間が無くなったため created_at: <%= Time.current - 3.months + 23.hours %> hibernation6: user: autoretire-within-1-week scheduled_return_on: <%= Time.current + 30.days %> - reason: 学習時間が取れないため + reason: お金が足りなくなったため created_at: <%= Time.current - 3.months + 1.week %> hibernation7: user: autoretire-over-1-week scheduled_return_on: <%= Time.current + 30.days %> - reason: 学習時間が取れないため + reason: 事故でしばらく動けないため created_at: <%= Time.current - 3.months + 1.week + 1.day %> hibernation8: user: not-autoretire scheduled_return_on: <%= Time.current + 30.days %> - reason: 学習時間が取れないため + reason: 指を骨折してプログラミングができないため created_at: <%= Time.current - 6.months%> hibernation9: user: nagai-kyuukai scheduled_return_on: <%= Time.current + 30.days %> - reason: 学習時間が取れないため + reason: オンラインでのコミュニケーションが向いていないと感じたため created_at: <%= Time.current - 3.months %>