My Problem::
Sl_no
and one for Name
Sl_no
is the primary key which has auto increment checked as shown in
snapshot-1Sl_NO
has
autoincrement enabled) but it is not doing soSnapshot-1
Snapshot-2
How can i resolve this ?
UPDATE: It wasn't apparent right away that you're doing this from model and not directly in your db table.
To create your schema from model you need to do Forward Engineering
and in the dialog choose Generate INSERT Statements for Tables
.
Then go to the object browser in your MySQL connection, not your model. Fire select statement in query window or choose from context menu Select Rows - LIMIT 1000
and you'll see that your sl_no
column is populated as expected.
BTW both mac and windows interfaces are identical.
Original answer:
You forgot to commit your changes by clicking Apply
And after reviewing the change script click Apply
again.
After that you'll see your auto_increment
column values populated
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With