lib/generators/delayed_job_heartbeat_plugin/templates/migration.erb
class CreateDelayedWorkers < ActiveRecord::Migration[<%= ActiveRecord::VERSION::MAJOR %>.<%= ActiveRecord::VERSION::MINOR %>]
def change
create_table(:delayed_workers) do |t|
t.string :name
t.string :version
t.datetime :last_heartbeat_at
t.string :host_name
t.string :label
end
end
end