Database Reference
In-Depth Information
Defining a list column
First, let's add a new list column to our
user_status_updates
table:
ALTER TABLE "user_status_updates"
ADD "shared_by" LIST<text>;
The syntax for defining a list column is identical to that for defining a set column; we
simply swap in
LIST
for
SET
.