mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 01:38:10 +00:00
6 lines
263 B
Plaintext
Executable File
6 lines
263 B
Plaintext
Executable File
|
|
// 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()
|