mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
fix: default value for show super description
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
# show_location :boolean default("0")
|
# show_location :boolean default("0")
|
||||||
# show_department :boolean default("0")
|
# show_department :boolean default("0")
|
||||||
# super_description :text(4294967295)
|
# super_description :text(4294967295)
|
||||||
# show_super_description :boolean
|
# show_super_description :boolean default("0")
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
class AddSuperDescriptionToUserExtensions < ActiveRecord::Migration[5.2]
|
class AddSuperDescriptionToUserExtensions < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
add_column :user_extensions, :super_description, :text, :limit => 4294967295
|
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
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user