Sha256: b4a05937ee257ec06a9425fd51c2af36bbef160bf22a00dc68eea834e3407e94

Contents?: true

Size: 236 Bytes

Versions: 6

Compression:

Stored size: 236 Bytes

Contents

class CreateTaggableModelWithJsons < ActiveRecord::Migration[5.2]
  def change
    create_table :taggable_model_with_jsons do |t|
      t.column :name, :string
      t.column :type, :string
      t.column :opts, :json
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
make_taggable-0.7.1 spec/dummy/db/migrate/020201119221746_create_taggable_model_with_jsons.rb
make_taggable-0.7.0 spec/dummy/db/migrate/020201119221746_create_taggable_model_with_jsons.rb
make_taggable-0.6.6 spec/dummy/db/migrate/20201119221746_create_taggable_model_with_jsons.rb
make_taggable-0.6.5 spec/dummy/db/migrate/20201119221746_create_taggable_model_with_jsons.rb
make_taggable-0.6.4 spec/dummy/db/migrate/20201119221746_create_taggable_model_with_jsons.rb
make_taggable-0.6.3 spec/dummy/db/migrate/20201119221746_create_taggable_model_with_jsons.rb