Autoincrement in Postgres using SERIAL
Introduction When you’re creating and managing tables in PostgreSQL, there may be times when you need unique values created on demand for a column. This is especially common for id columns that serve as the primary key for a table. Fortunately, the SERIAL pseudo-type makes it easy to create an auto-incrementing sequence of integers. In … Continued