blob: 57b4b2e639cc7a684c5ecb8f0c19960cce662fb6 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 | class CreateChouettePtLink < ActiveRecord::Migration
def up
  create_table "pt_links", :force => true do |t|
    t.integer  "start_of_link_id",    :limit => 8
    t.integer  "end_of_link_id",      :limit => 8
    t.integer  "route_id",      :limit => 8
    t.string   "objectid",       :null => false
    t.integer  "object_version"
    t.datetime "creation_time"
    t.string   "creator_id"
    t.string   "name"
    t.string   "comment"
    t.decimal  "link_distance",  :precision => 19, :scale => 2
  end
   add_index "pt_links", ["objectid"], :name => "pt_links_objectid_key", :unique => true
  end
  def down
    drop_table :pt_links
  end
end
 |