In a Rails migration:

    add_column :cats, :toys, :string, array: true, default: []