Sha256: 8d5c7a125a57f7b0d1a0dacd8e2325a821a62725e55d7bf67c9c1dc37b9a3c8f

Contents?: true

Size: 766 Bytes

Versions: 2

Compression:

Stored size: 766 Bytes

Contents

ActiveRecord::Schema.define :version => 0 do
  create_table :flaggable_models, :force => true do |t|
    t.string :name
  end

  create_table :flagger_models, :force => true do |t|
    t.string :name
  end

  create_table :flagger_once_models, :force => true do |t|
    t.string :name
  end

  create_table :invalid_flaggable_models, :force => true do |t|
    t.string :name
  end

  create_table :flaggings, :force => true do |t|
     t.string :flaggable_type
     t.integer :flaggable_id
     t.string :flagger_type
     t.integer :flagger_id
     t.text :reason

     t.timestamps
  end

  add_index :flaggings, [:flaggable_type, :flaggable_id]
  add_index :flaggings, [:flagger_type, :flagger_id, :flaggable_type, :flaggable_id], :name => "access_flaggings"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
make_flaggable-0.0.3 spec/schema.rb
make_flaggable-0.0.2 spec/schema.rb