Skip to content

Commit

Permalink
Remove assist columns from Elixir DB migrations
Browse files Browse the repository at this point in the history
Because I'm lazy and don't want to write a migration to delete them

Signed-off-by: tiksan <webmaster@deek.sh>
  • Loading branch information
dssecret committed Sep 30, 2024
1 parent 141cc13 commit a23328b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions worker/priv/repo/migrations/20240903201027_add_server.exs
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ defmodule Tornium.Repo.Migrations.AddServer do
add :armory_enabled, :boolean, default: false, null: false
add :armory_config, :map, default: %{}, null: false

add :assist_channel, :bigint, default: 0, null: false
add :assist_factions, {:array, :integer}, default: [], null: false
add :assist_smoker_roles, {:array, :bigint}, default: [], null: false
add :assist_tear_roles, {:array, :bigint}, default: [], null: false
add :assist_l0_roles, {:array, :bigint}, default: [], null: false
add :assist_l1_roles, {:array, :bigint}, default: [], null: false
add :assist_l2_roles, {:array, :bigint}, default: [], null: false
add :assist_l3_roles, {:array, :bigint}, default: [], null: false

add :oc_config, :map, default: %{}, null: false
end

Expand Down
2 changes: 0 additions & 2 deletions worker/priv/repo/migrations/20240907183747_add_faction.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ defmodule Tornium.Repo.Migrations.AddFaction do

add :guild_id, references(:server, column: :sid, type: :bigint)

add :assist_servers, {:array, :bigint}, default: [], null: false

add :stats_db_enabled, :boolean, default: true, null: false
add :stats_db_global, :boolean, default: true, null: false

Expand Down

0 comments on commit a23328b

Please sign in to comment.