diff --git a/apps/game_backend/priv/repo/migrations/20240812135008_add_game_modes_table.exs b/apps/game_backend/priv/repo/migrations/20240812135008_add_game_modes_table.exs index 50e570516..ea071c3a1 100644 --- a/apps/game_backend/priv/repo/migrations/20240812135008_add_game_modes_table.exs +++ b/apps/game_backend/priv/repo/migrations/20240812135008_add_game_modes_table.exs @@ -4,6 +4,7 @@ defmodule GameBackend.Repo.Migrations.AddGameModesTable do def change do create table(:game_modes) do add :name, :string + add :description, :text timestamps(type: :utc_datetime) end diff --git a/apps/game_backend/priv/repo/migrations/20240816155411_add_description_to_game_modes.exs b/apps/game_backend/priv/repo/migrations/20240816155411_add_description_to_game_modes.exs deleted file mode 100644 index e6c7a1c6f..000000000 --- a/apps/game_backend/priv/repo/migrations/20240816155411_add_description_to_game_modes.exs +++ /dev/null @@ -1,9 +0,0 @@ -defmodule GameBackend.Repo.Migrations.AddDescriptionToGameModes do - use Ecto.Migration - - def change do - alter table(:game_modes) do - add :description, :text - end - end -end