2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/generators/backgroundrb/bdrb_migration/templates/migration.rb', line 2
def self.up
create_table :bdrb_job_queues 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
|