Skip to content

Commit

Permalink
Remove selected column from talks
Browse files Browse the repository at this point in the history
Proposals are selected (for a conference), not talks.
  • Loading branch information
maser committed Mar 23, 2015
1 parent 97505eb commit b8f57df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20150321165746_remove_selected_from_talks.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RemoveSelectedFromTalks < ActiveRecord::Migration
def change
remove_column :talks, :selected, :boolean
end
end
3 changes: 1 addition & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20150321155539) do
ActiveRecord::Schema.define(version: 20150321165746) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -114,7 +114,6 @@
t.string "title", null: false
t.string "public_description"
t.string "private_description", null: false
t.boolean "selected"
t.string "time_slot"
t.string "track"
t.string "mentor_name"
Expand Down
3 changes: 0 additions & 3 deletions test/fixtures/talks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ one:
track: Test
time_slot: 40 minutes
user: rockstar
selected: false

two:
title: Not-so-awesome talk
Expand All @@ -16,7 +15,6 @@ two:
track: Test
time_slot: 20 minutes
user: wannabe_rockstar
selected: false

three:
title: Not-so-awesome talk again
Expand All @@ -25,4 +23,3 @@ three:
track: Test
time_slot: 20 minutes
user: wannabe_rockstar
selected: false

0 comments on commit b8f57df

Please sign in to comment.