Skip to content

Commit

Permalink
Removing Stop model.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliamae committed Jan 14, 2012
1 parent 9687034 commit 67cb6bc
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 41 deletions.
29 changes: 0 additions & 29 deletions app/models/stop.rb

This file was deleted.

18 changes: 18 additions & 0 deletions db/migrate/20120114221915_drop_stops.rb
@@ -0,0 +1,18 @@
class DropStops < ActiveRecord::Migration
def up
drop_table :stops
end

def down
create_table :stops do |t|
t.string :stop_id
t.string :name
t.decimal :lat
t.decimal :lon
t.boolean :station
t.string :parent_station

t.timestamps
end
end
end
13 changes: 1 addition & 12 deletions db/schema.rb
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20111028183919) do
ActiveRecord::Schema.define(:version => 20120114221915) do

create_table "incidents", :force => true do |t|
t.integer "stop_id"
Expand All @@ -23,15 +23,4 @@
t.datetime "updated_at"
end

create_table "stops", :force => true do |t|
t.string "stop_id"
t.string "name"
t.decimal "lat"
t.decimal "lon"
t.boolean "station"
t.string "parent_station"
t.datetime "created_at"
t.datetime "updated_at"
end

end

0 comments on commit 67cb6bc

Please sign in to comment.