mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:19:52 +01:00
Make question_id
on anonymous blocks nullable
This commit is contained in:
parent
099665022f
commit
d51ef91775
2 changed files with 8 additions and 1 deletions
|
@ -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 a new issue