You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of generating relation with table named in snake_case the type isn`t generated properly.
To check you can specify the table with snake_case in relation field, for example with pgm: pgm.createTable('some_table', { ..., some_field_id: { type: 'uuid', notNull: true, references: '"another_table"(id)', })
another_table type reference won`t generated properly.
To convert it was used the next command yarn run pal schema camel-case --schema=<path to my schema>
The text was updated successfully, but these errors were encountered:
In case of generating relation with table named in snake_case the type isn`t generated properly.
To check you can specify the table with snake_case in relation field, for example with pgm:
pgm.createTable('some_table', { ..., some_field_id: { type: 'uuid', notNull: true, references: '"another_table"(id)', })
another_table type reference won`t generated properly.
To convert it was used the next command
yarn run pal schema camel-case --schema=<path to my schema>
The text was updated successfully, but these errors were encountered: