forked from shibao/cannery
add migration for ammo type table and column
This commit is contained in:
parent
88c3f15fc8
commit
550f6a6420
@ -0,0 +1,8 @@
|
||||
defmodule Cannery.Repo.Migrations.RenameAmmoTypeToType do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
rename table(:ammo_types), to: table(:types)
|
||||
rename table(:packs), :ammo_type_id, to: :type_id
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user