Skip to content

Commit

Permalink
Change title column from string to binary on 'bookmarks' table, fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Sep 20, 2016
1 parent 70b0168 commit 1ff695c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class ChangeDataTypeForBookmarksTitle < ActiveRecord::Migration
def up
change_column :bookmarks, :title, :binary
end

def down
change_column :bookmarks, :title, :string
end
end

0 comments on commit 1ff695c

Please sign in to comment.