Skip to content

Saving the new name of a primary key column automatically created when importing a file does not work. #5214

Closed

Description

@jeromeperez

Description

I import a csv file without pk to create a table and i change pk column's name id to IdTable and the created columm is still named id

Expected behavior

I expect the name of the primary key column to be the one I entered, not id.

To Reproduce

  1. Import csv file without pk
  2. Modify pk column's name
  3. Click create

Environment

Mathesar version: 0.9.0
OS: debian bookworm
Browser: brave
Browser Version: Brave 1.86.148 (Build officiel) (64 bits) Chromium: 144.0.7559.133

Additional context

Same problem when i modify column's name directly in inspector when i click to save

Activity

  1. jeromeperez commented on Apr 2, 2026

    @jeromeperez
    Author

    Today it's ok

  2. added this to the v0.11.0 milestone on May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: triageThis issue has not yet been reviewed by a maintainertype: bug

    Fields

    Reported by

    None yet

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions