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.4.0 db/migrate/7_create_spina_settings.rb
spina-2.3.5 db/migrate/7_create_spina_settings.rb
spina-2.3.4 db/migrate/7_create_spina_settings.rb
spina-2.3.3 db/migrate/7_create_spina_settings.rb
spina-2.3.2 db/migrate/7_create_spina_settings.rb
spina-2.3.1 db/migrate/7_create_spina_settings.rb
spina-2.3.0 db/migrate/7_create_spina_settings.rb
spina-2.2.0 db/migrate/7_create_spina_settings.rb
spina-2.1.1 db/migrate/7_create_spina_settings.rb
spina-2.1.0 db/migrate/7_create_spina_settings.rb
spina-2.0.2 db/migrate/7_create_spina_settings.rb
spina-2.0.1 db/migrate/7_create_spina_settings.rb
spina-2.0.0 db/migrate/7_create_spina_settings.rb
spina-2.0.0.beta db/migrate/7_create_spina_settings.rb
spina-2.0.0.alpha db/migrate/7_create_spina_settings.rb
spina-1.2.0 db/migrate/7_create_spina_settings.rb
spina-1.1.4 db/migrate/7_create_spina_settings.rb
spina-1.1.3 db/migrate/7_create_spina_settings.rb
spina-1.1.2 db/migrate/7_create_spina_settings.rb
spina-1.1.1 db/migrate/7_create_spina_settings.rb