CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
0078_bot_user.sql
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| a7460bf | 1 | -- Migration 0078: Seed the gluecron[bot] synthetic user. |
| 2 | -- | |
| 3 | -- All autopilot / AI-review comments are credited to this row rather than | |
| 4 | -- the PR/issue author. The password_hash is deliberately empty so that no | |
| 5 | -- bcrypt comparison can ever succeed, making this account non-loginable. | |
| 6 | INSERT INTO users ( | |
| 7 | username, | |
| 8 | email, | |
| 9 | password_hash, | |
| 10 | display_name, | |
| 11 | bio, | |
| 12 | is_admin, | |
| 13 | notify_email_on_mention, | |
| 14 | notify_email_on_assign, | |
| 15 | notify_email_on_gate_fail, | |
| 16 | notify_email_digest_weekly, | |
| 17 | notify_email_on_pending_comment, | |
| 18 | sleep_mode_enabled, | |
| 19 | sleep_mode_digest_hour_utc, | |
| 20 | notify_push_on_mention, | |
| 21 | notify_push_on_assign, | |
| 22 | notify_push_on_review_request, | |
| 23 | notify_push_on_deploy_failed, | |
| 24 | is_playground, | |
| 25 | personal_semantic_index_enabled, | |
| 26 | created_at, | |
| 27 | updated_at | |
| 28 | ) VALUES ( | |
| 29 | 'gluecron[bot]', | |
| 30 | 'bot@gluecron.com', | |
| 31 | '', | |
| 32 | 'Gluecron Bot', | |
| 33 | 'AI autopilot system', | |
| 34 | false, | |
| 35 | false, | |
| 36 | false, | |
| 37 | false, | |
| 38 | false, | |
| 39 | false, | |
| 40 | false, | |
| 41 | 9, | |
| 42 | false, | |
| 43 | false, | |
| 44 | false, | |
| 45 | false, | |
| 46 | false, | |
| 47 | false, | |
| 48 | NOW(), | |
| 49 | NOW() | |
| 50 | ) | |
| 51 | ON CONFLICT (username) DO NOTHING; |