Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4195

Closed
Open
Created 12 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Project ID SQL

Closed

Project ID SQL

Created by: MrKeiKun

Reproduce: Create or Import a Project Remove it Create or Import a Project

Result: the 1st time you create/import uses ID # 1 after removing and creating same project the Project id becamse # 2 it doesn't use the empty project id under SQL

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: Razer6

      I think that's the desired behavior and actual a bug. All IDs are absolute. Do you have a problem with this?

      By Administrator on 2013-06-04T12:51:51 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: MrKeiKun

      shouldn't it use the dumped id, since its already empty? so meaning if i added a project and deleted the project and create a new project again

      it will just increment? the id that will be assigned if another project will be added?

      By Administrator on 2013-06-04T13:12:36 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: Razer6

      AFIAK yes. For every created project you'll get an unique ID.

      By Administrator on 2013-06-04T21:47:42 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: Thijmen

      It's just auto increment. General use for databases, to prevent unwanted data and to bring some structure to the database.

      By Administrator on 2013-06-05T08:08:25 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: MrKeiKun

      so meaning if i create a project named "test" = id # 1 then deleted project "test" create a project named "test1" it will use id # 2??

      meaning it will not use the non existing anymore id # 1??

      By Administrator on 2013-06-05T11:04:37 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: Thijmen

      Yes, that's correct @ShidoKun.

      By Administrator on 2013-06-05T11:08:51 (imported from GitLab project)

    • Administrator
      Administrator @root · 12 years ago
      Owner

      Created by: MrKeiKun

      i see close :>

      By Administrator on 2013-06-05T13:49:39 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help