Sha256: 8e247e9ff03991b7cad00d92e11541a9ac03961e4946408a73d3861e42c09633

Contents?: true

Size: 250 Bytes

Versions: 45

Compression:

Stored size: 250 Bytes

Contents

class CreateSpinaSettings < ActiveRecord::Migration[5.0]
  def change
    create_table :spina_settings do |t|
      t.string :plugin
      t.jsonb :preferences, default: {}
      t.timestamps
    end

    add_index :spina_settings, :plugin
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
spina-2.18.0 db/migrate/7_create_spina_settings.rb
spina-2.17.0 db/migrate/7_create_spina_settings.rb
spina-2.16.0 db/migrate/7_create_spina_settings.rb
spina-2.15.1 db/migrate/7_create_spina_settings.rb
spina-2.15.0 db/migrate/7_create_spina_settings.rb
spina-2.14.0 db/migrate/7_create_spina_settings.rb
spina-2.13.1 db/migrate/7_create_spina_settings.rb
spina-2.13.0 db/migrate/7_create_spina_settings.rb
spina-2.12.0 db/migrate/7_create_spina_settings.rb
spina-2.11.0 db/migrate/7_create_spina_settings.rb
spina-2.10.0 db/migrate/7_create_spina_settings.rb
spina-2.9.1 db/migrate/7_create_spina_settings.rb
spina-2.9.0 db/migrate/7_create_spina_settings.rb
spina-2.8.1 db/migrate/7_create_spina_settings.rb
spina-2.8.0 db/migrate/7_create_spina_settings.rb
spina-2.7.0 db/migrate/7_create_spina_settings.rb
spina-2.6.2 db/migrate/7_create_spina_settings.rb
spina-2.6.1 db/migrate/7_create_spina_settings.rb
spina-2.6.0 db/migrate/7_create_spina_settings.rb
spina-2.5.0 db/migrate/7_create_spina_settings.rb