forked from shibao/cannery
- store ammo type grain as integer
- make ammo type desc as text
This commit is contained in:
@ -5,10 +5,10 @@ defmodule Cannery.Repo.Migrations.CreateAmmoTypes do
|
||||
create table(:ammo_types, primary_key: false) do
|
||||
add :id, :binary_id, primary_key: true
|
||||
add :name, :string
|
||||
add :desc, :string
|
||||
add :desc, :text
|
||||
add :case_material, :string
|
||||
add :bullet_type, :string
|
||||
add :weight, :float
|
||||
add :grain, :integer
|
||||
add :manufacturer, :string
|
||||
|
||||
timestamps()
|
||||
|
Reference in New Issue
Block a user