Add NOT NULL
requirement to columns on polls
(#33374)
This commit is contained in:
parent
d2fbf42b0e
commit
b648c64e2e
6 changed files with 62 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue