| 1 | -- SPDX-License-Identifier: AGPL-3.0-or-later |
| 2 | -- |
| 3 | -- Profile contribution privacy: |
| 4 | -- |
| 5 | -- - include_private_contributions mirrors GitHub's profile setting for |
| 6 | -- displaying private contribution counts on the public contribution graph. |
| 7 | -- The graph never exposes private repository names or commit metadata. |
| 8 | |
| 9 | -- +goose Up |
| 10 | ALTER TABLE users |
| 11 | ADD COLUMN include_private_contributions boolean NOT NULL DEFAULT false; |
| 12 | |
| 13 | -- +goose Down |
| 14 | ALTER TABLE users |
| 15 | DROP COLUMN IF EXISTS include_private_contributions; |
| 16 |