Sha256: f0cbcc0a71c815258e0d6c327bc16a644313aa4572f13fa9f431cd7a0534c6e8

Contents?: true

Size: 617 Bytes

Versions: 3

Compression:

Stored size: 617 Bytes

Contents

# frozen_string_literal: true

ActiveRecord::Schema.define do
  create_table :posts do |t|
    t.column :title, :string
  end

  create_table :comments do |t|
    t.references :post
  end

  create_table :authors do |t|
    t.references :comment
    t.references :collab_posts
  end

  create_table :favorites do |t|
    t.references :post
  end

  create_table :collab_posts do |t|
    t.references :authors
  end

  create_table :cards

  create_table :card_locations do |t|
    t.references :location
    t.references :card, polymorphic: true
  end

  create_table :locations
  create_table :community_tickets
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arel-helpers-2.13.0 spec/internal/db/schema.rb
arel-helpers-2.12.1 spec/internal/db/schema.rb
arel-helpers-2.12.0 spec/internal/db/schema.rb