Sha256: a9a54bfbade812edd51355e7af89130b279352faa36452ac91c5cc941e2a1da4

Contents?: true

Size: 296 Bytes

Versions: 7

Compression:

Stored size: 296 Bytes

Contents

class CreateLocals < ActiveRecord::Migration
  def self.up
    create_table :locals do |t|
       t.integer :localizable_id
       t.string  :localizable_type
       t.string :latitude
       t.string :longitude
       t.timestamps
    end
  end

  def self.down
    drop_table :locals
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
acts_as_solr_reloaded-1.6.0 test/db/migrate/011_create_locals.rb
acts_as_solr_reloaded-1.5.0 test/db/migrate/011_create_locals.rb
acts_as_solr_reloaded-1.4.0 test/db/migrate/011_create_locals.rb
acts_as_solr_reloaded-1.3.0 test/db/migrate/011_create_locals.rb
acts_as_solr_reloaded-1.2.0 test/db/migrate/011_create_locals.rb
acts_as_solr_reloaded-1.1.0 test/db/migrate/011_create_locals.rb
acts_as_solr_reloaded-1.0.0 test/db/migrate/011_create_locals.rb