Sha256: 4b0bdad8dfa5bf80eb2d1229aae50734a82967a15fec24db08a3011a67e333f8

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

ActiveRecord::Schema.define(:version => 1) do
  create_table "publications", :force => true do |t|
    t.string "name", "subdomain"
  end

  create_table "articles", :force => true do |t|
    t.references 'publication'
    t.string 'title'
  end
end

class Publication < ActiveRecord::Base
  has_many :articles
end

class Article < ActiveRecord::Base
  belongs_to :publication
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aub-cache_advance-0.2.0 test/spec/db/schema.rb
aub-cache_advance-1.1.0 test/spec/db/schema.rb
aub-cache_advance-1.1.1 test/spec/db/schema.rb