adds published to polls
This commit is contained in:
5
db/migrate/20170102170125_add_published_to_polls.rb
Normal file
5
db/migrate/20170102170125_add_published_to_polls.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddPublishedToPolls < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :polls, :published, :boolean, default: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user