forked from bofh/fetsite
addcrawlobjects
This commit is contained in:
14
db/migrate/20150330205419_add_hash_to_crawlobjects.rb
Normal file
14
db/migrate/20150330205419_add_hash_to_crawlobjects.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class AddHashToCrawlobjects < ActiveRecord::Migration
|
||||
def up
|
||||
change_table :crawlobjects do |t|
|
||||
t.string :objhash, :index=>true
|
||||
t.string :objhash2, :index=>true
|
||||
|
||||
end
|
||||
end
|
||||
def down
|
||||
remove_column :crawlobjects, :objhash
|
||||
remove_column :crawlobjects, :objhash2
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user