enable long questions by default
This commit is contained in:
parent
353f6f8940
commit
00f7645e5a
|
@ -0,0 +1,9 @@
|
|||
class EnableAllowLongQuestionsByDefault < ActiveRecord::Migration[6.1]
|
||||
def up
|
||||
change_column_default :profiles, :allow_long_questions, true
|
||||
end
|
||||
|
||||
def down
|
||||
change_column_default :profiles, :allow_long_questions, false
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2023_01_08_114333) do
|
||||
ActiveRecord::Schema.define(version: 2023_02_03_054229) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -134,7 +134,7 @@ ActiveRecord::Schema.define(version: 2023_01_08_114333) do
|
|||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "anon_display_name"
|
||||
t.boolean "allow_long_questions", default: false
|
||||
t.boolean "allow_long_questions", default: true
|
||||
t.index ["user_id"], name: "index_profiles_on_user_id"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue