Skip to content

Commit 24c5241

Browse files
authored
Merge pull request #1407 from projectblacklight/binary-columns
Convert query_params and title database columns to the binary type
2 parents 28b14dc + 390b642 commit 24c5241

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

db/migrate/20140202020201_create_searches.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
class CreateSearches < ActiveRecord::Migration
33
def self.up
44
create_table :searches do |t|
5-
t.text :query_params
5+
t.binary :query_params
66
t.integer :user_id, index: true
77
t.string :user_type
88

db/migrate/20140202020202_create_bookmarks.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def self.up
66
t.string :user_type
77
t.string :document_id, index: true
88
t.string :document_type
9-
t.string :title
9+
t.binary :title
1010
t.timestamps null: false
1111
end
1212
end

0 commit comments

Comments
 (0)