Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Jan 30, 2019
1 parent 35f85d6 commit ecf2e46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/mysql/_migrate/migrate_change_table_option_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
erbh(<<-ERB)
create_table "employees", primary_key: "emp_no", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=ascii" do |t|
t.date "birth_date", null: false
t.string "first_name", limit: 14, null: false, <%= i cond(5.2, collation: "utf8_general_ci") %>
t.string "last_name", limit: 16, null: false, <%= i cond(5.2, collation: "utf8_general_ci") %>
t.string "gender", limit: 1, null: false, <%= i cond(5.2, collation: "utf8_general_ci") %>
t.string "first_name", limit: 14, null: false, <%= i cond('>= 5.2', collation: "utf8_general_ci") %>
t.string "last_name", limit: 16, null: false, <%= i cond('>= 5.2', collation: "utf8_general_ci") %>
t.string "gender", limit: 1, null: false, <%= i cond('>= 5.2', collation: "utf8_general_ci") %>
t.date "hire_date", null: false
end
ERB
Expand Down

0 comments on commit ecf2e46

Please sign in to comment.