Closed jasonfb closed 3 years ago
Solidus default installation on MySQL 5.6
rake db:seed should run through cleanly
rake db:seed
crashes with Encoding issue
Solidus Version: tested latest
Extensions in use:
not applicable
this can be fixed easily in the solidus_one_for migration
create_table "spree_states", force: :cascade do |t| t.string "name" t.string "abbr"
... end
by adding , :options => 'ENGINE=InnoDB DEFAULT CHARSET=utf8' to both name and abbr
, :options => 'ENGINE=InnoDB DEFAULT CHARSET=utf8'
name
abbr
note this is easily fixed after the schema migrations themselves are created in your app, in the copied files.
TODO (Jason): provide reproduction app
Hey @jasonfb! I'm not able to reproduce this -- are you still seeing issues using MySQL?
Steps to reproduce
Solidus default installation on MySQL 5.6
Expected behavior
rake db:seed
should run through cleanlyActual behavior
crashes with Encoding issue
System configuration
Solidus Version: tested latest
Extensions in use:
not applicable
this can be fixed easily in the solidus_one_for migration
... end
by adding
, :options => 'ENGINE=InnoDB DEFAULT CHARSET=utf8'
to bothname
andabbr
note this is easily fixed after the schema migrations themselves are created in your app, in the copied files.