fix: default value for show super description
This commit is contained in:
parent
793cbb372a
commit
ec3a556a6f
|
@ -29,7 +29,7 @@
|
|||
# show_location :boolean default("0")
|
||||
# show_department :boolean default("0")
|
||||
# super_description :text(4294967295)
|
||||
# show_super_description :boolean
|
||||
# show_super_description :boolean default("0")
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
class AddSuperDescriptionToUserExtensions < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :user_extensions, :super_description, :text, :limit => 4294967295
|
||||
add_column :user_extensions, :show_super_description, :boolean
|
||||
add_column :user_extensions, :show_super_description, :boolean, default: false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue