adds ancestry column to comments
This commit is contained in:
committed by
Juanjo Bazán
parent
eb689d7c7e
commit
e0c67d8404
7
db/migrate/20150902114558_add_ancestry_to_comments.rb
Normal file
7
db/migrate/20150902114558_add_ancestry_to_comments.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddAncestryToComments < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :comments, :ancestry, :string
|
||||
|
||||
add_index :comments, :ancestry
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user