adds published to polls

This commit is contained in:
Juanjo Bazán
2017-01-02 18:23:24 +01:00
parent fe1c12c661
commit 1aa845a9c6
5 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class AddPublishedToPolls < ActiveRecord::Migration
def change
add_column :polls, :published, :boolean, default: false
end
end