class AddKeyColumnToUnit < ActiveRecord::Migration def change add_column :units, :unit_key, :string, default: "" end end