Files
gitlab-foss/db/migrate/20241118061025_update_workspaces_devfile_path_nullable.rb
2025-01-09 21:35:37 +00:00

15 lines
305 B
Ruby

# frozen_string_literal: true
class UpdateWorkspacesDevfilePathNullable < Gitlab::Database::Migration[2.2]
milestone '17.8'
disable_ddl_transaction!
def up
change_column_null :workspaces, :devfile_path, true
end
def down
change_column_null :workspaces, :devfile_path, false
end
end