Sha256: 9be2f254fe27db656d557fc2874d2ed40f6679884899b1f7dca6719ff7be1bf7

Contents?: true

Size: 545 Bytes

Versions: 118

Compression:

Stored size: 545 Bytes

Contents

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

  create_table :locations, :force => true do |t|
    t.float :lat
    t.float :lng
  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

118 entries across 66 versions & 15 rubygems

Version Path
erichummel-sunspot_rails-1.2.1f spec/schema.rb
erichummel-sunspot_rails-1.2.1e spec/schema.rb
erichummel-sunspot_rails-1.2.1d spec/schema.rb
erichummel-sunspot_rails-1.2.1c spec/schema.rb
erichummel-sunspot_rails-1.2.1b spec/schema.rb
erichummel-sunspot_rails-1.2.1a spec/schema.rb
sunspot_rails_rbg-1.3.1 spec/schema.rb
sunspot_rails_rbg-1.3.0 spec/schema.rb
ruben_sunspot_rails-1.1.4 spec/mock_app/db/schema.rb
ruben_sunspot_rails-1.1.4 spec/schema.rb
ruben_sunspot_rails-1.1.3 spec/mock_app/db/schema.rb
ruben_sunspot_rails-1.1.3 spec/schema.rb
ruben_sunspot_rails-1.1.2 spec/mock_app/db/schema.rb
ruben_sunspot_rails-1.1.2 spec/schema.rb
sunspot_activerecord-0.0.5 spec/app/db/schema.rb
sunspot_activerecord-0.0.4 spec/app/db/schema.rb
sunspot_activerecord-0.0.3 spec/app/db/schema.rb
sunspot_rails_mongoid-1.2.1 spec/schema.rb
sunspot_rails-1.2.1 spec/schema.rb
sunspot_rails-1.2.0 spec/schema.rb