blob: a3733cfde439254e0faae446c5860cf8f7fa642c (
plain)
| 1
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
27
28
29
30
31
32
33
34
 | class CreateChouetteAccessPoint < ActiveRecord::Migration
  def up
    create_table :access_points, :force => true do |t|
      t.string   "objectid"
      t.integer  "object_version"
      t.datetime "creation_time"
      t.string   "creator_id"
      t.string   "name"
      t.string   "comment"
      t.decimal  "longitude",      :precision => 19, :scale => 16
      t.decimal  "latitude",       :precision => 19, :scale => 16
      t.string   "long_lat_type"
      t.decimal  "x",              :precision => 19, :scale => 2
      t.decimal  "y",              :precision => 19, :scale => 2
      t.string   "projection_type"
      t.string   "country_code"
      t.string   "street_name"
      t.string   "contained_in"
      t.datetime "openning_time"
      t.datetime "closing_time"
      t.string   "type"
      t.boolean  "lift_availability"
      t.datetime "mobility_restricted_suitability"
      t.datetime "stairs_availability"
    end
   add_index "access_points", ["objectid"], :name => "access_points_objectid_key", :unique => true
  end
  def down
    drop_table :access_points
  end
end
 |