2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/geostats/migrations/001_create_caches.rb', line 2
def self.up
create_table :caches do |t|
t.integer :cache_type_id
t.string :uuid
t.string :code
t.string :name
t.float :latitude
t.float :longitude
t.float :difficulty
t.float :terrain
t.string :owner
t.string :size
t.string :location
t.datetime :hidden_at
t.boolean :is_pmonly
t.boolean :is_archived
t.integer :gcvote_votes
t.float :gcvote_average
t.float :gcvote_median
t.integer :founds_count
t.integer :dnf_count
t.datetime :synced_at
t.timestamps
end
end
|