Make `question_id` on anonymous blocks nullable
This commit is contained in:
parent
099665022f
commit
d51ef91775
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class MakeQuestionIdOnAnonymousBlocksNullable < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
change_column_null :anonymous_blocks, :question_id, true
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2022_12_27_002012) do
|
||||
ActiveRecord::Schema.define(version: 2022_12_27_065923) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
Loading…
Reference in New Issue