Migration generator

This commit is contained in:
Gregory Eremin
2013-06-07 11:01:57 +04:00
parent 53b0645b8d
commit af16ec0982
9 changed files with 36 additions and 26 deletions
@@ -1,5 +1,5 @@
class CreateBurdenRuns < ActiveRecord::Migration
def up
def self.up
create_table :burden_runs do |t|
t.string :name
t.boolean :success
@@ -8,7 +8,7 @@ class CreateBurdenRuns < ActiveRecord::Migration
end
end
def down
def self.down
drop_table :burden_runs
end
end