Skip to content

Commit

Permalink
Convert query_params and title database columns to the binary type
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed May 10, 2016
1 parent 2f3474e commit dd8af84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/migrate/20140202020201_create_searches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class CreateSearches < ActiveRecord::Migration
def self.up
create_table :searches do |t|
t.text :query_params
t.binary :query_params
t.integer :user_id, index: true
t.string :user_type

Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20140202020202_create_bookmarks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def self.up
t.string :user_type
t.string :document_id, index: true
t.string :document_type
t.string :title
t.binary :title
t.timestamps null: false
end
end
Expand Down

0 comments on commit dd8af84

Please sign in to comment.