Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
integer-underflow
coder
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
updatews
Breadcrumbs
coder
/
coderd
/
database
/
migrations
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
updatews
Breadcrumbs
coder
/
coderd
/
database
/
migrations
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
testdata
testdata
000001_base.down.sql
000001_base.down.sql
000001_base.up.sql
000001_base.up.sql
000002_templates.down.sql
000002_templates.down.sql
000002_templates.up.sql
000002_templates.up.sql
000003_workspaces.down.sql
000003_workspaces.down.sql
000003_workspaces.up.sql
000003_workspaces.up.sql
000004_jobs.down.sql
000004_jobs.down.sql
000004_jobs.up.sql
000004_jobs.up.sql
000005_gitsshkey.down.sql
000005_gitsshkey.down.sql
000005_gitsshkey.up.sql
000005_gitsshkey.up.sql
000006_workspace_autostartstop.down.sql
000006_workspace_autostartstop.down.sql
000006_workspace_autostartstop.up.sql
000006_workspace_autostartstop.up.sql
000007_user_status.down.sql
000007_user_status.down.sql
000007_user_status.up.sql
000007_user_status.up.sql
000008_rbac_roles.down.sql
000008_rbac_roles.down.sql
000008_rbac_roles.up.sql
000008_rbac_roles.up.sql
000009_agent_directory.down.sql
000009_agent_directory.down.sql
000009_agent_directory.up.sql
000009_agent_directory.up.sql
000010_audit_logs.down.sql
000010_audit_logs.down.sql
000010_audit_logs.up.sql
000010_audit_logs.up.sql
000011_template_description.down.sql
000011_template_description.down.sql
000011_template_description.up.sql
000011_template_description.up.sql
000012_template_version_readme.down.sql
000012_template_version_readme.down.sql
000012_template_version_readme.up.sql
000012_template_version_readme.up.sql
000013_autostop_ttl.down.sql
000013_autostop_ttl.down.sql
000013_autostop_ttl.up.sql
000013_autostop_ttl.up.sql
000014_provisioner_daemons_organization_id.down.sql
000014_provisioner_daemons_organization_id.down.sql
000014_provisioner_daemons_organization_id.up.sql
000014_provisioner_daemons_organization_id.up.sql
000015_workspacebuild_deadline.down.sql
000015_workspacebuild_deadline.down.sql
000015_workspacebuild_deadline.up.sql
000015_workspacebuild_deadline.up.sql
000016_api_key_lifetime.down.sql
000016_api_key_lifetime.down.sql
000016_api_key_lifetime.up.sql
000016_api_key_lifetime.up.sql
000017_drop_member_roles.down.sql
000017_drop_member_roles.down.sql
000017_drop_member_roles.up.sql
000017_drop_member_roles.up.sql
000018_provisioner_job_type_dry_run.down.sql
000018_provisioner_job_type_dry_run.down.sql
000018_provisioner_job_type_dry_run.up.sql
000018_provisioner_job_type_dry_run.up.sql
000019_drop_org_user_parameter_scope.down.sql
000019_drop_org_user_parameter_scope.down.sql
000019_drop_org_user_parameter_scope.up.sql
000019_drop_org_user_parameter_scope.up.sql
000020_workspace_apps.down.sql
000020_workspace_apps.down.sql
000020_workspace_apps.up.sql
000020_workspace_apps.up.sql
000021_template_autobuild_constraints.down.sql
000021_template_autobuild_constraints.down.sql
000021_template_autobuild_constraints.up.sql
000021_template_autobuild_constraints.up.sql
000022_template_created_by.down.sql
000022_template_created_by.down.sql
000022_template_created_by.up.sql
000022_template_created_by.up.sql
000023_template_created_by_not_null.down.sql
000023_template_created_by_not_null.down.sql
000023_template_created_by_not_null.up.sql
000023_template_created_by_not_null.up.sql
000024_site_config.down.sql
000024_site_config.down.sql
000024_site_config.up.sql
000024_site_config.up.sql
000025_workspace_build_reason.down.sql
000025_workspace_build_reason.down.sql
000025_workspace_build_reason.up.sql
000025_workspace_build_reason.up.sql
000026_allow_template_name_re_use.down.sql
000026_allow_template_name_re_use.down.sql
000026_allow_template_name_re_use.up.sql
000026_allow_template_name_re_use.up.sql
000027_apikey_ip.down.sql
000027_apikey_ip.down.sql
000027_apikey_ip.up.sql
000027_apikey_ip.up.sql
000028_wireguard.down.sql
000028_wireguard.down.sql
000028_wireguard.up.sql
000028_wireguard.up.sql
000029_variable_order.down.sql
000029_variable_order.down.sql
000029_variable_order.up.sql
000029_variable_order.up.sql
000030_template_version_created_by.down.sql
000030_template_version_created_by.down.sql
000030_template_version_created_by.up.sql
000030_template_version_created_by.up.sql
000031_agent_auth_instance_id.down.sql
000031_agent_auth_instance_id.down.sql
000031_agent_auth_instance_id.up.sql
000031_agent_auth_instance_id.up.sql
000032_oidc.down.sql
000032_oidc.down.sql
000032_oidc.up.sql
000032_oidc.up.sql
000033_resource_metadata.down.sql
000033_resource_metadata.down.sql
000033_resource_metadata.up.sql
000033_resource_metadata.up.sql
000034_remove_admin_role.down.sql
000034_remove_admin_role.down.sql
000034_remove_admin_role.up.sql
000034_remove_admin_role.up.sql
000035_linked_user_id.down.sql
000035_linked_user_id.down.sql
000035_linked_user_id.up.sql
000035_linked_user_id.up.sql
000036_template_icon.down.sql
000036_template_icon.down.sql
000036_template_icon.up.sql
000036_template_icon.up.sql
000037_jwt_licenses.down.sql
000037_jwt_licenses.down.sql
000037_jwt_licenses.up.sql
000037_jwt_licenses.up.sql
000038_template_max_ttl_cap_7_days.down.sql
000038_template_max_ttl_cap_7_days.down.sql
000038_template_max_ttl_cap_7_days.up.sql
000038_template_max_ttl_cap_7_days.up.sql
000039_add_workspace_agent_version.down.sql
000039_add_workspace_agent_version.down.sql
000039_add_workspace_agent_version.up.sql
000039_add_workspace_agent_version.up.sql
000040_audit_addtl_fields.down.sql
000040_audit_addtl_fields.down.sql
000040_audit_addtl_fields.up.sql
000040_audit_addtl_fields.up.sql
000041_tailnet.down.sql
000041_tailnet.down.sql
000041_tailnet.up.sql
000041_tailnet.up.sql
000042_agent_stats.down.sql
000042_agent_stats.down.sql
000042_agent_stats.up.sql
000042_agent_stats.up.sql
000043_workspace_last_used.down.sql
000043_workspace_last_used.down.sql
000043_workspace_last_used.up.sql
000043_workspace_last_used.up.sql
000044_user_avatars.down.sql
000044_user_avatars.down.sql
000044_user_avatars.up.sql
000044_user_avatars.up.sql
000045_workspacebuildname.down.sql
000045_workspacebuildname.down.sql
000045_workspacebuildname.up.sql
000045_workspacebuildname.up.sql
000046_more_resource_types.down.sql
000046_more_resource_types.down.sql
000046_more_resource_types.up.sql
000046_more_resource_types.up.sql
000047_workspace_resource_hide.down.sql
000047_workspace_resource_hide.down.sql
000047_workspace_resource_hide.up.sql
000047_workspace_resource_hide.up.sql
000048_userdelete.down.sql
000048_userdelete.down.sql
000048_userdelete.up.sql
000048_userdelete.up.sql
000049_workspace_resource_icon.down.sql
000049_workspace_resource_icon.down.sql
000049_workspace_resource_icon.up.sql
000049_workspace_resource_icon.up.sql
000050_apikey_scope.down.sql
000050_apikey_scope.down.sql
View all files
You can’t perform that action at this time.