Sha256: 9e0cdb2807a96a0c195ab48eb02a70ce83ae9480a8824ace1bad76aeca563a10

Contents?: true

Size: 471 Bytes

Versions: 93

Compression:

Stored size: 471 Bytes

Contents

class CreateSettings < ActiveRecord::Migration
  def change
    create_table "settings" do |t|
      t.string   "var",                   null: false
      t.text     "value"
      t.integer  "thing_id"
      t.string   "thing_type", limit: 30
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "settings", ["thing_type", "thing_id", "var"], name: "index_settings_on_thing_type_and_thing_id_and_var", unique: true, using: :btree

  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
tenon-1.1.8 db/migrate/20140313004616_create_settings.rb
tenon-1.1.7 db/migrate/20140313004616_create_settings.rb
tenon-1.1.6 db/migrate/20140313004616_create_settings.rb
tenon-2.1.0 db/migrate/20140313004616_create_settings.rb
tenon-2.0.8 db/migrate/20140313004616_create_settings.rb
tenon-2.0.7 db/migrate/20140313004616_create_settings.rb
tenon-2.0.6 db/migrate/20140313004616_create_settings.rb
tenon-2.0.5 db/migrate/20140313004616_create_settings.rb
tenon-2.0.4 db/migrate/20140313004616_create_settings.rb
tenon-2.0.3 db/migrate/20140313004616_create_settings.rb
tenon-2.0.2 db/migrate/20140313004616_create_settings.rb
tenon-2.0.1 db/migrate/20140313004616_create_settings.rb
tenon-2.0.0 db/migrate/20140313004616_create_settings.rb
tenon-1.1.5 db/migrate/20140313004616_create_settings.rb
tenon-1.1.4 db/migrate/20140313004616_create_settings.rb
tenon-1.1.3 db/migrate/20140313004616_create_settings.rb
tenon-1.1.2 db/migrate/20140313004616_create_settings.rb
tenon-1.1.1 db/migrate/20140313004616_create_settings.rb
tenon-1.0.76 db/migrate/20140313004616_create_settings.rb
tenon-1.0.75 db/migrate/20140313004616_create_settings.rb