Sha256: f8a9641e23788bddc57038a15364dfa6277a228ed2e1fba1abc7b1207efaa346
Contents?: true
Size: 756 Bytes
Versions: 3
Compression:
Stored size: 756 Bytes
Contents
# coding: utf-8 ActiveRecord::Schema.define do create_table :footprints, :force => true do |t| t.references :footprintable, :polymorphic => true t.references :footprinter, :polymorphic => true t.timestamps end add_index :footprints, [:footprintable_id, :footprintable_type] add_index :footprints, [:footprinter_id, :footprinter_type] create_table :users, :force => true do |t| t.string :name end create_table :not_users, :force => true do |t| t.string :name end create_table :footprintables, :force => true do |t| t.string :name end create_table :second_footprintables, :force => true do |t| t.string :name end create_table :not_footprintables, :force => true do |t| t.string :name end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts_as_footprintable-0.2.2 | spec/internal/db/schema.rb |
acts_as_footprintable-0.2.1 | spec/internal/db/schema.rb |
acts_as_footprintable-0.2.0 | spec/internal/db/schema.rb |