Sha256: 1cdb331cccc6831817a2f6650b8dd721181be30c3fb9e92c553415d85a5fd51c

Contents?: true

Size: 830 Bytes

Versions: 5

Compression:

Stored size: 830 Bytes

Contents

ActiveRecord::Schema.define(:version => 0) do

  create_table :releasable_candidate_items do |t|
    t.string :item_type, :null => false
    t.integer :item_id,   :null => false
    t.text :candidate_data
    t.string :collection_name
    t.timestamps
  end

  create_table :releasable_candidates do |t|
    t.string :item_type,      :null => false
    t.integer :item_id,       :null => false
    t.text :candidate_data
    t.timestamps
  end

  create_table :teams do |t|
    t.string :name
  end

  create_table :players do |t|
    t.string :name
    t.integer :skill_level
    t.integer :team_id
  end

  add_index :releasable_candidate_items, :item_id
  add_index :releasable_candidate_items, [:item_type, :item_id]
  add_index :releasable_candidates, :item_id
  add_index :releasable_candidates, [:item_type, :item_id]

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
act_as_releasable-0.0.5 spec/db/schema.rb
act_as_releasable-0.0.4 spec/db/schema.rb
act_as_releasable-0.0.3 spec/db/schema.rb
act_as_releasable-0.0.2 spec/db/schema.rb
act_as_releasable-0.0.1 spec/db/schema.rb