Skip to content

Commit

Permalink
reindex accessions to pick up new event fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Sep 28, 2017
1 parent 027c459 commit 48baf37
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions migrations/003_reindex_accessions.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'db/migrations/utils'

Sequel.migration do

up do
self[:accession].update(:system_mtime => Time.now)
end

end

0 comments on commit 48baf37

Please sign in to comment.