0
0
Fork 0

Add NOT NULL requirement to columns on polls (#33374)

This commit is contained in:
Matt Jankowski 2024-12-20 09:33:48 -05:00 committed by GitHub
parent d2fbf42b0e
commit b648c64e2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 62 additions and 10 deletions

View file

@ -778,8 +778,8 @@ ActiveRecord::Schema[7.2].define(version: 2024_12_16_224825) do
end
create_table "polls", force: :cascade do |t|
t.bigint "account_id"
t.bigint "status_id"
t.bigint "account_id", null: false
t.bigint "status_id", null: false
t.datetime "expires_at", precision: nil
t.string "options", default: [], null: false, array: true
t.bigint "cached_tallies", default: [], null: false, array: true