-- +goose Up
INSERT INTO master_setting_values (
  setting_key,
  value,
  is_encrypted,
  created_at,
  updated_at
)
VALUES (
  'AUTH_LOGIN_EMAIL_OTP_ENABLED',
  'false',
  0,
  UTC_TIMESTAMP(),
  UTC_TIMESTAMP()
)
ON DUPLICATE KEY UPDATE
  value = VALUES(value),
  is_encrypted = 0,
  updated_at = UTC_TIMESTAMP();

-- +goose Down
DELETE FROM master_setting_values
WHERE setting_key = 'AUTH_LOGIN_EMAIL_OTP_ENABLED';
