Sha256: 51d74205d0cd26c0d4dd1bd550f218b361ba3ffcf55f34757cf832f8009c313b

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

ActiveRecord::Schema.define do
  self.verbose = false

  create_table :authors, force: true do |t|
    t.timestamps null: false
  end

  create_table :author_posts, force: true do |t|
    t.integer :author_id, null: false
    t.integer :post_id, null: false
    t.timestamps null: false
  end

  create_table :posts, primary_key: :alt_id, force: true do |t|
    t.timestamps null: false
  end

  create_table :posts_tags, force: true do |t|
    t.integer :post_id, null: false
    t.integer :tag_id, null: false
  end

  create_table :tags, force: true do |t|
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
similar_models-0.2.1 spec/support/schema.rb
similar_models-0.2.0 spec/support/schema.rb