Sha256: f4c34ca0ec3d0abf1c95fe18817b43574610737985fdf38b1554d1e9bd764ba2

Contents?: true

Size: 243 Bytes

Versions: 72

Compression:

Stored size: 243 Bytes

Contents

class CreateSettings < ActiveRecord::Migration
  def change
    create_table :settings do |t|
      t.string :name
      t.text :value
      t.text :description

      t.timestamps null: false
    end

    add_index :settings, :name
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
udongo-7.9.0 db/migrate/20150412094419_create_settings.rb
udongo-7.8.1 db/migrate/20150412094419_create_settings.rb
udongo-7.8.0 db/migrate/20150412094419_create_settings.rb
udongo-7.7.2 db/migrate/20150412094419_create_settings.rb
udongo-7.7.1 db/migrate/20150412094419_create_settings.rb
udongo-7.7.0 db/migrate/20150412094419_create_settings.rb
udongo-7.6.2 db/migrate/20150412094419_create_settings.rb
udongo-7.6.1 db/migrate/20150412094419_create_settings.rb
udongo-7.6.0 db/migrate/20150412094419_create_settings.rb
udongo-7.5.1 db/migrate/20150412094419_create_settings.rb
udongo-7.5.0 db/migrate/20150412094419_create_settings.rb
udongo-7.4.2 db/migrate/20150412094419_create_settings.rb
udongo-7.4.1 db/migrate/20150412094419_create_settings.rb
udongo-7.4.0 db/migrate/20150412094419_create_settings.rb
udongo-7.3.5 db/migrate/20150412094419_create_settings.rb
udongo-7.3.4 db/migrate/20150412094419_create_settings.rb
udongo-7.3.3 db/migrate/20150412094419_create_settings.rb
udongo-7.3.2 db/migrate/20150412094419_create_settings.rb
udongo-7.3.1 db/migrate/20150412094419_create_settings.rb
udongo-7.2.1 db/migrate/20150412094419_create_settings.rb