diff options
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20120425080337_create_chouette_route.rb | 21 | ||||
| -rw-r--r-- | db/schema.rb | 17 |
2 files changed, 37 insertions, 1 deletions
diff --git a/db/migrate/20120425080337_create_chouette_route.rb b/db/migrate/20120425080337_create_chouette_route.rb new file mode 100644 index 000000000..98d0f3c11 --- /dev/null +++ b/db/migrate/20120425080337_create_chouette_route.rb @@ -0,0 +1,21 @@ +class CreateChouetteRoute < ActiveRecord::Migration + def up + create_table "route", :force => true do |t| + t.integer "lineid", :limit => 8 + t.string "objectid" + t.integer "objectversion" + t.datetime "creationtime" + t.string "creatorid" + t.string "name" + t.string "comment" + t.integer "oppositerouteid", :limit => 8 + t.string "publishedname" + t.string "number" + t.string "direction" + t.string "wayback" + end + end + + def down + end +end diff --git a/db/schema.rb b/db/schema.rb index 89a3326fd..c21ab020c 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20120416095046) do +ActiveRecord::Schema.define(:version => 20120425080337) do create_table "company", :force => true do |t| t.string "objectid" @@ -75,6 +75,21 @@ ActiveRecord::Schema.define(:version => 20120416095046) do t.datetime "updated_at" end + create_table "route", :force => true do |t| + t.integer "lineid", :limit => 8 + t.string "objectid" + t.integer "objectversion" + t.datetime "creationtime" + t.string "creatorid" + t.string "name" + t.string "comment" + t.integer "oppositerouteid", :limit => 8 + t.string "publishedname" + t.string "number" + t.string "direction" + t.string "wayback" + end + create_table "stoparea", :force => true do |t| t.integer "parentid", :limit => 8 t.string "objectid" |
