Edit

kmx.io/kmxgit/priv/repo/migrations/20220111151254_change_otp_to_totp.exs

Branch :

  • priv/repo/migrations/20220111151254_change_otp_to_totp.exs
  • defmodule Kmxgit.Repo.Migrations.ChangeOtpToTotp do
      use Ecto.Migration
    
      def change do
        rename table(:users), :otp_last, to: :totp_last
        rename table(:users), :otp_secret, to: :totp_secret
      end
    end