Files
nairobi/db/migrate/20170102170125_add_published_to_polls.rb
2017-01-02 18:23:24 +01:00

6 lines
135 B
Ruby

class AddPublishedToPolls < ActiveRecord::Migration
def change
add_column :polls, :published, :boolean, default: false
end
end