Sha256: a32679fb0813a44ae36306a4e008146271234900ff5f9a1c9a15dd7a4fd97cfa

Contents?: true

Size: 1.17 KB

Versions: 23

Compression:

Stored size: 1.17 KB

Contents

class CreateChouetteStopArea < ActiveRecord::Migration
  def up
    create_table "stop_areas", :force => true do |t|
      t.integer  "parent_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.string   "area_type"
      t.string   "registration_number"
      t.string   "nearest_topic_name"
      t.integer  "fare_code"
      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"
    end

    add_index "stop_areas", ["objectid"], :name => "stop_areas_objectid_key", :unique => true
    add_index "stop_areas", ["parent_id"], :name => "index_stop_areas_on_parent_id"

  end

  def down
    drop_table "stop_areas"
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ninoxe-1.2.3 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.2.2 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.2.1 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.2.0 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.1.5 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.1.4 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.1.3 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.1.2 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.1.1 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.1.0 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.0.3 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.0.2 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.0.1 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-1.0.0 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-0.1.6 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-0.1.5 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-0.1.4 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-0.1.3 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-0.1.2 db/migrate/20120406144221_create_chouette_stop_area.rb
ninoxe-0.1.1 db/migrate/20120406144221_create_chouette_stop_area.rb