Skip to content

Commit

Permalink
Merge pull request #2852 from mdeniz/make_evans_migration_reversible
Browse files Browse the repository at this point in the history
Make Evan's migration about cache line key length reversible
  • Loading branch information
DavidKang committed Mar 17, 2017
2 parents 3d5bb16 + 1e34dc3 commit e2abc10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/api/db/migrate/20170317094221_change_cache_lines_key.rb
@@ -1,5 +1,9 @@
class ChangeCacheLinesKey < ActiveRecord::Migration[5.0]
def change
def up
change_column(:cache_lines, :key, :string, limit: 4096)
end

def down
change_column(:cache_lines, :key, :string, limit: 255)
end
end

0 comments on commit e2abc10

Please sign in to comment.