Created
April 12, 2022 06:10
-
-
Save wttj-tech/790def55adcde72b8448451dba03e187 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule WttjApi.Repo.Migrations.AddGenderToUsers do | |
use Ecto.Migration | |
def change do | |
alter table(:users) do | |
add_if_not_exists :gender, :string | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment