mirror of
https://github.com/strapi/strapi.git
synced 2025-08-12 10:48:12 +00:00
6 lines
263 B
Plaintext
6 lines
263 B
Plaintext
![]() |
|
||
|
// Adds an auto incrementing column, in PostgreSQL this is a serial.
|
||
|
// This will be used as the primary key for the column. Also available is a
|
||
|
// "bigIncrements" if you wish to add a "bigint" incrementing number (in PostgreSQL "bigserial").
|
||
|
table.increments()
|