Approved field is now false by default
This commit is contained in:
parent
7cd48ed7d6
commit
79d16b1ce0
2 changed files with 7 additions and 2 deletions
|
|
@ -0,0 +1,5 @@
|
|||
class AddDefaultToScreenshotApproved < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :screenshots, :approved, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue