Skip to content

Commit

Permalink
default array to empty
Browse files Browse the repository at this point in the history
  • Loading branch information
lfilmeyer committed Oct 18, 2024
1 parent 1d81f8b commit 81d6422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

class AddAnswersToSurveyAnswers < ActiveRecord::Migration[7.1]
def change
add_column :survey_answers, :answers, :string, array: true
add_column :survey_answers, :answers, :string, array: true, default: []
end
end
2 changes: 1 addition & 1 deletion backend/db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81d6422

Please sign in to comment.