0
0
Fork 0

Add NOT NULL requirement to columns on account_conversations (#33308)

This commit is contained in:
Matt Jankowski 2024-12-16 03:20:08 -05:00 committed by GitHub
parent a596f3479b
commit cf4595967b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 59 additions and 7 deletions

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.2].define(version: 2024_12_12_154346) do
ActiveRecord::Schema[7.2].define(version: 2024_12_13_170053) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -24,8 +24,8 @@ ActiveRecord::Schema[7.2].define(version: 2024_12_12_154346) do
end
create_table "account_conversations", force: :cascade do |t|
t.bigint "account_id"
t.bigint "conversation_id"
t.bigint "account_id", null: false
t.bigint "conversation_id", null: false
t.bigint "participant_account_ids", default: [], null: false, array: true
t.bigint "status_ids", default: [], null: false, array: true
t.bigint "last_status_id"