Skip to content

Commit

Permalink
Drop staff table
Browse files Browse the repository at this point in the history
We are dropping the staff table because there
is no model related to the table and it isn't being
used for anything in our application.
  • Loading branch information
dennis committed Apr 6, 2017
1 parent b5e9970 commit f0449a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20170405230953_drop_staff.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class DropStaff < ActiveRecord::Migration[5.0]
def change
drop_table :staff
end
end
9 changes: 0 additions & 9 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@
t.datetime "updated_at", null: false
end

create_table "staff", force: :cascade do |t|
t.string "pod"
t.date "started_at_company"
t.integer "person_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["person_id"], name: "index_staff_on_person_id"
end

create_table "topic_requests", force: :cascade do |t|
t.string "name", null: false
t.datetime "created_at", null: false
Expand Down

0 comments on commit f0449a5

Please sign in to comment.