Sha256: 57181419585bd595a50e423aaa5627f235aa21ea3b3dbaa187c142ff42f60a84

Contents?: true

Size: 934 Bytes

Versions: 14

Compression:

Stored size: 934 Bytes

Contents

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

  create_table :widgets, :force => true do |t|
    t.string    :name
    t.text      :a_text
    t.integer   :an_integer
    t.float     :a_float
    t.decimal   :a_decimal
    t.datetime  :a_datetime
    t.time      :a_time
    t.date      :a_date
    t.boolean   :a_boolean
    t.datetime  :created_at, :updated_at
    t.string    :sacrificial_column
    t.string    :type
  end

  create_table :versions, :force => true do |t|
    t.string   :item_type, :null => false
    t.integer  :item_id,   :null => false
    t.string   :event,     :null => false
    t.string   :whodunnit
    t.text     :object
    t.datetime :created_at
  end
  add_index :versions, [:item_type, :item_id]

  create_table :wotsits, :force => true do |t|
    t.integer :widget_id
    t.string  :name
  end

  create_table :fluxors, :force => true do |t|
    t.integer :widget_id
    t.string  :name
  end

end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
airblade-paper_trail-1.1.0 test/schema.rb
airblade-paper_trail-1.1.1 test/schema.rb
jeremyw-paper_trail-1.2.10 test/schema.rb
jeremyw-paper_trail-1.2.12 test/schema.rb
jeremyw-paper_trail-1.2.2 test/schema.rb
jeremyw-paper_trail-1.2.3 test/schema.rb
jeremyw-paper_trail-1.2.5 test/schema.rb
jeremyw-paper_trail-1.2.6 test/schema.rb
jeremyw-paper_trail-1.2.7 test/schema.rb
jeremyw-paper_trail-1.2.8 test/schema.rb
jeremyw-paper_trail-1.2.9 test/schema.rb
jeremyw-paper_trail-1.2.14 test/schema.rb
paper_trail-1.2.14 test/schema.rb
paper_trail-1.2.13 test/schema.rb