Sha256: df8f7db09a17e718e6d6faaff3d199d15fc00cf9b2e195edc4ae8ef236e8cadd
Contents?: true
Size: 804 Bytes
Versions: 3
Compression:
Stored size: 804 Bytes
Contents
class BackgroundrbCreate<%= table_name.camelize %> < ActiveRecord::Migration def self.up create_table :<%= table_name %> do |t| t.column :args, :text t.column :worker_name, :string t.column :worker_method, :string t.column :job_key, :string t.column :taken, :int t.column :finished, :int t.column :timeout, :int t.column :priority, :int t.column :submitted_at, :datetime t.column :started_at, :datetime t.column :finished_at, :datetime t.column :archived_at, :datetime t.column :tag, :string t.column :submitter_info, :string t.column :runner_info, :string t.column :worker_key, :string t.column :scheduled_at, :datetime end end def self.down drop_table :<%= table_name %> end end
Version data entries
3 entries across 3 versions & 1 rubygems