Sha256: c03fc1005c9c7e3ae69c26b0dbc9e17f1c45d92477b4a1c3e18b8af69f2b92f0

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

class CreateNsSettingsUiSettings < ActiveRecord::Migration[4.2]
  def up
    create_table :ns_settings_ui_settings do |t|
      t.string :key, null: false
      t.string :value
      t.string :default_value
      t.timestamps
    end
    add_index :ns_settings_ui_settings, :key
  end

  def down
    drop_table :ns_settings_ui_settings
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ns_settings_ui-1.7.0 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.6.1 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.6.0 db/migrate/20151210214903_create_ns_settings_ui_settings.rb