Edit

kmx.io/kmxgit/priv/repo/migrations/20211228071859_add_otp_to_users.exs

Branch :

  • priv/repo/migrations/20211228071859_add_otp_to_users.exs
  • defmodule Kmxgit.Repo.Migrations.AddOtpToUsers do
      use Ecto.Migration
    
      def change do
        alter table(:users) do
          add :otp_last, :integer, null: false, default: 0
          add :otp_secret, :string
        end
      end
    end