Sha256: 70d960cb7a609a5c6dd301b75a1256fbca75e2461b5730793db9decbc568cdd2
Contents?: true
Size: 393 Bytes
Versions: 40
Compression:
Stored size: 393 Bytes
Contents
class CreateUserLocations < ActiveRecord::Migration def change create_table :user_locations do |t| t.references :user, index: true, foreign_key: true t.references :location, index: true, foreign_key: true t.references :detectable, polymorphic: true, index: true t.float :lat t.float :lng t.float :alt t.timestamps null: false end end end
Version data entries
40 entries across 40 versions & 2 rubygems