Skip to content

Commit

Permalink
[webui] Make Evan's migration about cache line key length reversible
Browse files Browse the repository at this point in the history
  • Loading branch information
Moises Deniz Aleman committed Mar 17, 2017
1 parent 776c20e commit 1e34dc3
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 1e34dc3

Please sign in to comment.