Sha256: 51911452c69f13fb5ccb85660843d617b50739b52850282b3d8b9a08f5b060c6
Contents?: true
Size: 402 Bytes
Versions: 12
Compression:
Stored size: 402 Bytes
Contents
class AddJobTracker < ActiveRecord::Migration def up unless table_exists?(:job_trackers) create_table :job_trackers do |t| t.string :job_name t.string :job_klass t.string :run_time t.datetime :last_run_at t.datetime :next_run_at end end end def down if table_exists?(:job_trackers) drop_table :job_trackers end end end
Version data entries
12 entries across 12 versions & 1 rubygems