internal/store/migrations/0024_domain_verify.up.sql

727e9773591679858f7e89e6a9b2942db20cc2d2
gitbay/internal/store/migrations/0024_domain_verify.up.sql

6 lines · 434 bytes

1-- DNS-challenge verification for custom pages domains. Existing claims
2-- predate verification and stay serving: they are grandfathered verified.
3ALTER TABLE page_domains ADD COLUMN token TEXT NOT NULL DEFAULT '';
4ALTER TABLE page_domains ADD COLUMN user_id INTEGER NOT NULL DEFAULT 0;
5ALTER TABLE page_domains ADD COLUMN verified_at TEXT NOT NULL DEFAULT '';
6UPDATE page_domains SET verified_at = created_at WHERE verified_at = '';
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form