aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20120214101645_create_chouette_ptnetwork.rb
blob: 45037c31a431a80fb10a8e37bd1c386573fb57fc (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
class CreateChouettePtnetwork < ActiveRecord::Migration
  def up
    create_table "networks", :force => true do |t|
      t.string   "objectid", :null => false
      t.integer  "object_version"
      t.datetime "creation_time"
      t.string   "creator_id"
      t.date     "version_date"
      t.string   "description"
      t.string   "name"
      t.string   "registration_number"
      t.string   "source_name"
      t.string   "source_type"
      t.string   "source_identifier"
      t.string   "comment"
    end

    add_index "networks", ["objectid"], :name => "networks_objectid_key", :unique => true
    add_index "networks", ["registration_number"], :name => "networks_registration_number_key", :unique => true
  end

  def down
  end
end