Sha256: bc51c18ddc02c3212549d4ad591e84ec54225d566608650f5be372512991b80e

Contents?: true

Size: 409 Bytes

Versions: 18

Compression:

Stored size: 409 Bytes

Contents

ActiveRecord::Schema.define(:version => 0) do
  create_table :posts, :force => true do |t|
    t.string :title
    t.text :body
    t.references :blog
    t.timestamps
  end

  create_table :blogs, :force => true do |t|
    t.string :name
    t.string :subdomain
    t.timestamps
  end

  create_table :writers, :force => true, :primary_key => :writer_id do |t|
    t.string :name
    t.timestamps
  end

end

Version data entries

18 entries across 9 versions & 3 rubygems

Version Path
sunspot_rails-0.11.5 spec/mock_app/db/schema.rb
sunspot_rails-0.11.5 spec/schema.rb
sunspot_rails-0.11.4 spec/mock_app/db/schema.rb
sunspot_rails-0.11.4 spec/schema.rb
nxa-sunspot_rails-0.11.3 spec/schema.rb
nxa-sunspot_rails-0.11.3 spec/mock_app/db/schema.rb
sunspot_rails-0.11.3 spec/schema.rb
sunspot_rails-0.11.3 spec/mock_app/db/schema.rb
sunspot_rails-0.11.2 spec/schema.rb
sunspot_rails-0.11.2 spec/mock_app/db/schema.rb
sunspot_rails-0.11.1 spec/mock_app/db/schema.rb
sunspot_rails-0.11.1 spec/schema.rb
sunspot_rails-0.11.0 spec/mock_app/db/schema.rb
sunspot_rails-0.11.0 spec/schema.rb
kuahyeow-sunspot_rails-0.10.7 spec/mock_app/db/schema.rb
kuahyeow-sunspot_rails-0.10.7 spec/schema.rb
kuahyeow-sunspot_rails-0.10.6 spec/mock_app/db/schema.rb
kuahyeow-sunspot_rails-0.10.6 spec/schema.rb