transferred Code Ocean from original repository to GitHub
This commit is contained in:
11
db/migrate/20140918063522_add_hashed_content_to_files.rb
Normal file
11
db/migrate/20140918063522_add_hashed_content_to_files.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class AddHashedContentToFiles < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :files, :hashed_content, :string
|
||||
|
||||
reversible do |direction|
|
||||
direction.up do
|
||||
CodeOcean::File.all.each(&:save)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user