Skip to content

add snake case fortmatting to PK upon table creation#12

Open
Neliitsme wants to merge 1 commit intovmkteam:masterfrom
Neliitsme:add-snake-case-to-pk
Open

add snake case fortmatting to PK upon table creation#12
Neliitsme wants to merge 1 commit intovmkteam:masterfrom
Neliitsme:add-snake-case-to-pk

Conversation

@Neliitsme
Copy link
Copy Markdown

Fixes #10

I checked around the code, it seems that snake_case is being used as default in other places so i defaulted to that too.

Other than that i suppose it could be done better by checking for other conventions too, currently the code doesn't differentiate between camel and pascal cases either and just uses the table name capitalization. I din't go through with fixing it since it could be intended behavior.

Also the frontend doesn't seem to be following any sort of formatting as when i ran npm run format i got changes in a bunch of files. Just something to keep in mind.

Let me know what you think.

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

Successfully merging this pull request may close these issues.

Ignored naming convention on PK when creating a new table

1 participant