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
From what I can see you've setup your system to generate 0 ids.
Your schema is stating that you do not want Rails to tell the database to set the id field as auto incrementing. You also are telling Rails to tell the database to set the id value to be 0 by default if one is not provided.
Related to this Stackoverflow comment.
From what I can see you've setup your system to generate 0 ids.
Your schema is stating that you do not want Rails to tell the database to set the
id
field as auto incrementing. You also are telling Rails to tell the database to set theid
value to be 0 by default if one is not provided.In your model you tell Rails to use the
id
as the primary key and to use a custom table. Based on your schema it's an actual table, not a view.Based on all that I would expect the following to be true:
The text was updated successfully, but these errors were encountered: