Sha256: 37d7996f62e78a2974876af781b9c8e081003d3d13bace5351b4de76f2d4abbd

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

ActiveRecord::Schema.define do
  create_table :people, temporal: true, force: true do |t|
    t.belongs_to :coven
    t.string :name
  end

  create_table :covens, force: true do |t|
    t.string :name
  end
  add_temporal_table :covens

  create_table :warts, temporal: true, force: true do |t|
    t.belongs_to :person
    t.integer :hairiness
  end

  create_table :flying_machines, temporal: true, force: true do |t|
    t.belongs_to :person
    t.string :type
    t.string :model
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
temporal_tables-0.7.1 spec/internal/db/schema.rb
temporal_tables-0.7.0 spec/internal/db/schema.rb