Sha256: 0046275cc5c03d31063b90165351ae09ccbade4f2d0ebaf70df94b854292bb2f

Contents?: true

Size: 342 Bytes

Versions: 8

Compression:

Stored size: 342 Bytes

Contents

class CreateNsSettingsUiSettings < ActiveRecord::Migration
  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

8 entries across 8 versions & 1 rubygems

Version Path
ns_settings_ui-1.5.3 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.5.2 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.5.1 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.4.0 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.3.0 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.2.0 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.1.0 db/migrate/20151210214903_create_ns_settings_ui_settings.rb
ns_settings_ui-1.0.0 db/migrate/20151210214903_create_ns_settings_ui_settings.rb