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
Hello, I'm using instructor to generate content for my app, but my schemas are stored in a database and instructor is generating primary keys and foreign keys. For example, my Question schema has an id field, and instructor is generating a1b2c3d4e5 for this instead of letting a UUID be generated by ecto on insert. I tried this and it did not work:
## Field Descriptions:
- id: database primary key. leave this empty.
...
Any suggestions?
Thank you!
The text was updated successfully, but these errors were encountered:
glappen
changed the title
Is there a way for instructor to ignore some columns in the schema?
Is there a way for instructor to ignore some fields in the schema?
Mar 5, 2025
Hello, I'm using instructor to generate content for my app, but my schemas are stored in a database and instructor is generating primary keys and foreign keys. For example, my Question schema has an id field, and instructor is generating a1b2c3d4e5 for this instead of letting a UUID be generated by ecto on insert. I tried this and it did not work:
Any suggestions?
Thank you!
The text was updated successfully, but these errors were encountered: