Approved field is now false by default

This commit is contained in:
Christoph Haas 2016-04-08 16:42:46 +02:00
parent 7cd48ed7d6
commit 79d16b1ce0
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class AddDefaultToScreenshotApproved < ActiveRecord::Migration
def change
change_column :screenshots, :approved, :boolean, default: false, null: false
end
end