Sha256: e5acee47d40bfde9598a897fd9b13f3a154b765c3c6a05bca688b0aafcb99099
Contents?: true
Size: 463 Bytes
Versions: 2
Compression:
Stored size: 463 Bytes
Contents
class ChangeInflectionalValueCollation < ActiveRecord::Migration def up if ActiveRecord::Base.connection.adapter_name == 'Mysql2' execute("ALTER TABLE inflectionals MODIFY value varchar(4000) CHARACTER SET utf8 COLLATE utf8_bin;") end end def down if ActiveRecord::Base.connection.adapter_name == 'Mysql2' execute("ALTER TABLE inflectionals MODIFY value varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci;") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iqvoc_inflectionals-2.9.0 | db/migrate/20160331092532_change_inflectional_value_collation.rb |
iqvoc_inflectionals-2.8.0 | db/migrate/20160331092532_change_inflectional_value_collation.rb |