What is the syntax for setting the auto increment value in schema.yml using Doctrine?

I want to set the initial value for automatic increase in the column to 1,000,000 (to avoid conflicts with an outdated application), but cannot find the documentation that tells me how to do this.

Pretty standard table, here is what the corresponding bit looks like:

User:   
  attributes:
    export: tables
  columns: 
    id:
     type: integer
     primary: true
     autoincrement: true
    code:
     type: string(6)
...
+3
source share
2 answers

, .

id 100000? , .

- script id 100000. . 100000.

0

Source: https://habr.com/ru/post/1752494/


All Articles