mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
15 lines
396 B
Ruby
15 lines
396 B
Ruby
|
class CreateSchedulerStats < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :scheduler_stats do |t|
|
||
|
t.string :name, null: false
|
||
|
t.string :hostname, null: false
|
||
|
t.integer :pid, null: false
|
||
|
t.integer :duration_ms
|
||
|
t.integer :live_slots_start
|
||
|
t.integer :live_slots_finish
|
||
|
t.datetime :started_at, null: false
|
||
|
t.boolean :success
|
||
|
end
|
||
|
end
|
||
|
end
|