forked from shibao/cannery
		
	add migration for ammo type table and column
This commit is contained in:
		@@ -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
 | 
			
		||||
		Reference in New Issue
	
	Block a user