Skip to content

Commit

Permalink
fix more camelCase vs lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
rizen committed Apr 4, 2024
1 parent abdb07c commit 82e2215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ving/generator/vingschema.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const ${camelCase(name)}Schema = {
// 1:N relationship - aka a relationship to my children
/* {
type: "virtual",
name: '${name.toLowerCase()}Id', // the name of this record's id in the remote table
name: '${camelCase(name)}Id', // the name of this record's id in the remote table
required: false,
view: ['public'],
edit: [],
Expand All @@ -122,7 +122,7 @@ export const ${camelCase(name)}Schema = {
// N:1 relationship - aka a relationship to my parent
/*{
type: "id",
name: '${name.toLowerCase()}GroupId', // the name of the remote record's id in this table
name: '${camelCase(name)}GroupId', // the name of the remote record's id in this table
required: true,
length: 36,
db: (prop) => dbRelation(prop),
Expand Down

0 comments on commit 82e2215

Please sign in to comment.