mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-16 17:13:01 +00:00
Add latest changes from gitlab-org/security/gitlab@18-0-stable-ee
This commit is contained in:
@ -6,10 +6,10 @@ class AddNotNullToForkNetworksOrganizationId < Gitlab::Database::Migration[2.2]
|
||||
milestone '18.0'
|
||||
|
||||
def up
|
||||
change_column_null :fork_networks, :organization_id, false
|
||||
# no-op due to https://gitlab.com/gitlab-org/gitlab/-/issues/543167#note_2512131075
|
||||
end
|
||||
|
||||
def down
|
||||
change_column_null :fork_networks, :organization_id, true
|
||||
# no-op due to https://gitlab.com/gitlab-org/gitlab/-/issues/543167#note_2512131075
|
||||
end
|
||||
end
|
||||
|
@ -0,0 +1,14 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddNotNullOrganizationIdOnForkNetworks < Gitlab::Database::Migration[2.3]
|
||||
disable_ddl_transaction!
|
||||
milestone '18.1'
|
||||
|
||||
def up
|
||||
change_column_null :fork_networks, :organization_id, false
|
||||
end
|
||||
|
||||
def down
|
||||
change_column_null :fork_networks, :organization_id, true
|
||||
end
|
||||
end
|
1
db/schema_migrations/20250519155241
Normal file
1
db/schema_migrations/20250519155241
Normal file
@ -0,0 +1 @@
|
||||
d10874ff2a9242306d052ffc06114dd40be1e7f900fe650f0e2e79a20c0887ef
|
Reference in New Issue
Block a user