Skip to content

Create a default organization

Everything in a GitLab installation will belong to an Organization.

We need to create a default organization with ID=1. This organization will not be removable. It would be default organization for all existing, and all new namespaces, projects, and users in a system.

This way we would have a single anchor point for all. We would add organization_id DEFAULT 1 to ensure that all new queries have this assigned.