Dirty logging to DB

This commit is contained in:
Gregory Eremin
2013-06-06 18:15:38 +04:00
parent f7964df0b6
commit 802fe508ea
18 changed files with 140 additions and 74 deletions
@@ -0,0 +1,14 @@
class CreateRakeControlRuns < ActiveRecord::Migration
def up
create_table :rake_control_runs do |t|
t.string :name
t.boolean :success
t.float :execution_time
t.timestamps
end
end
def down
drop_table :rake_control_runs
end
end