README.md in metka-2.2.0 vs README.md in metka-2.2.1
- old
+ new
@@ -40,11 +40,11 @@
```ruby
class CreateSongs < ActiveRecord::Migration[5.0]
def change
create_table :songs do |t|
t.string :title
- t.string :tags, array: true
- t.string :genres, array: true
+ t.string :tags, array: true, default: [], index: { using: :gin }
+ t.string :genres, array: true, default: [], index: { using: :gin }
t.timestamps
end
end
end
```