addcrawlobjects

This commit is contained in:
Andreas Stephanides
2015-04-01 00:01:41 +02:00
parent bd7aac9bb7
commit ee137959c4
9 changed files with 168 additions and 2 deletions

View 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