Questions tagged [auto-increment]
The auto-increment tag has no usage guidance.
4
questions
1
vote
0answers
22 views
Magento 2 Custom Table Auto Increament Column value disorder
In my custom module, I have a database table with auto increment col. The columns values initially work fine but when I delete any record the value increased like this order
1,2,3,4,5,6,10,11,110,115,...
1
vote
0answers
42 views
Magento 2 add Item SR NO. in cart!
I have added new column of SR NO in cart table. But <tbody> tag generating dynamically. I want to add sr no for each row. but When I am trying it is not working and showing only 1 in each row.
...
0
votes
2answers
679 views
Auto increment in db_schema.xml
In M2 dev docs there is this regarding auto increment:
identity Indicates whether a column is auto incremented.
Here's excerpt from my db_schema.xml:
<column xsi:type="int" name="entity_id" ...
0
votes
0answers
7 views
Magento 2 insert in concurrent series
I have a multiseller store. I'm creating a seperate seller invoice within series.
My table data is like below
id
seller_id
invoice_id
invoice_series
order_id
For example if a seller name is John, I ...