Sha256: bea0e06be5b015c647a96b74eca9ff15dcf24c9847fa9ef72b7f46f50caaf94b

Contents?: true

Size: 465 Bytes

Versions: 4

Compression:

Stored size: 465 Bytes

Contents

ActiveRecord::Schema.define :version => 0 do
  
  create_table "scoped_tagged_models", :force => true do |t|
    t.string :name
  end
  
  create_table "tags", :force => true do |t|
    t.string :name
    t.string :context
  end
  
  create_table "taggings", :force => true do |t|
    t.references :tag
    t.references :taggable, :polymorphic => true
  end
  
  add_index "tags", ['context', 'name']
  add_index "taggings", ['taggable_id', 'taggable_type']
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scoped-tags-0.4.1 spec/schema.rb
scoped-tags-0.4.0 spec/schema.rb
scoped-tags-0.3.1 spec/schema.rb
scoped-tags-0.3.0 spec/schema.rb