Skip to content

Commit

Permalink
Follow up a887052 - Fixes #4573 - Organization field database length …
Browse files Browse the repository at this point in the history
…is 100 but should be 150 according to object.
  • Loading branch information
rolfschmidt committed Apr 14, 2023
1 parent a887052 commit f3bb871
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def change
# return if it's a new setup
return if !Setting.exists?(name: 'system_init_done')

change_column :organizations, :name, :string, limit: 150
change_column :organizations, :name, :string, limit: 150, null: false

Organization.reset_column_information
end
Expand Down

0 comments on commit f3bb871

Please sign in to comment.