Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: system fields of new created table are still camelized even I choose Inflection as none #5821

Closed
1 task done
dengmingcong opened this issue Jun 6, 2023 · 0 comments
Assignees
Milestone

Comments

@dengmingcong
Copy link

dengmingcong commented Jun 6, 2023

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

  1. install the latest nocodb with docker-compose.yml
  2. register and log in
  3. add existing data source, with both inflection set to none
    {
      "title": "runway",
      "dataSource": {
        "client": "mysql2",
        "connection": {
          "host": "192.168.104.47",
          "port": "3306",
          "user": "runway",
          "password": "u*pqLA58d32v",
          "database": "test"
        }
      },
      "inflection": {
        "inflectionColumn": "none",
        "inflectionTable": "none"
      },
      "extraParameters": [],
      "sslUse": "No"
    }
  4. add new table on the UI
    image
  5. the system fields (id, created_at, updated_at) are camelized
    image

Desired Behavior

I'd like to prevent system fields (id, created_at, updated_at) of the new table to be camelized if inflection was set to none.

This was because all my other existing table use snake case.

Project Details

Node: **v16.19.1**
Arch: **x64**
Platform: **linux**
Docker: **true**
RootDB: **mysql2**
PackageVersion: **0.108.1**

Attachments

The system fields are snake case in mysql actually:

image

@dstala dstala added this to the vNext milestone Oct 27, 2023
@dstala dstala assigned mustafapc19 and unassigned o1lab Oct 27, 2023
@dstala dstala closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants