Add NOT NULL requirement to account columns on AccountPin (#33244)
				
					
				
			This commit is contained in:
		@@ -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_05_163118) do
 | 
			
		||||
ActiveRecord::Schema[7.2].define(version: 2024_12_10_140838) do
 | 
			
		||||
  # These are extensions that must be enabled in order to support this database
 | 
			
		||||
  enable_extension "plpgsql"
 | 
			
		||||
 | 
			
		||||
@@ -82,8 +82,8 @@ ActiveRecord::Schema[7.2].define(version: 2024_12_05_163118) do
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  create_table "account_pins", force: :cascade do |t|
 | 
			
		||||
    t.bigint "account_id"
 | 
			
		||||
    t.bigint "target_account_id"
 | 
			
		||||
    t.bigint "account_id", null: false
 | 
			
		||||
    t.bigint "target_account_id", null: false
 | 
			
		||||
    t.datetime "created_at", precision: nil, null: false
 | 
			
		||||
    t.datetime "updated_at", precision: nil, null: false
 | 
			
		||||
    t.index ["account_id", "target_account_id"], name: "index_account_pins_on_account_id_and_target_account_id", unique: true
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user