Skip to content

Commit 0a1e3d7

Browse files
committed
fixup! Remove Rails <6.1 and Ruby <2.7 from the test matrix
1 parent 3f6025f commit 0a1e3d7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spec/support/database.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
t.string :genre
1111
t.integer :year
1212
t.integer :duration
13-
t.string :multi_genres, :array => true
13+
if ActiveRecord::Base.connection.instance_of?(ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter)
14+
t.string :multi_genres
15+
else
16+
t.string :multi_genres, :array => true
17+
end
1418
t.json :metadata
1519
end
1620

0 commit comments

Comments
 (0)