Make question_id in anonymous blocks nullable again

This commit is contained in:
Andreas Nedbal 2022-12-27 02:51:07 +01:00 committed by Andreas Nedbal
parent f76f8f706a
commit 7ccee0c000
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ ActiveRecord::Schema.define(version: 2022_12_27_002012) do
create_table "anonymous_blocks", force: :cascade do |t| create_table "anonymous_blocks", force: :cascade do |t|
t.bigint "user_id" t.bigint "user_id"
t.string "identifier" t.string "identifier"
t.bigint "question_id", null: false t.bigint "question_id"
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
t.bigint "target_user_id" t.bigint "target_user_id"