20140617132451_create_governmental_powers.rb
330 Bytes
class CreateGovernmentalPowers < ActiveRecord::Migration
def change
create_table :governmental_powers do |t|
t.string :name
t.timestamps
end
path_to_file = "plugins/mpog_software/public/static/governmental_powers.txt"
SoftwareHelper.create_list_with_file(path_to_file, GovernmentalPower)
end
end