update migration

This commit is contained in:
Karol
2019-10-08 18:44:30 +02:00
parent 7b2f61e602
commit 45ceacd34b
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
class AddUnpublishedToExercise < ActiveRecord::Migration[5.2]
def change
add_column :exercises, :unpublished, :boolean
add_column :exercises, :unpublished, :boolean, default: false
end
end