set index to table in postgressql code example
Example 1: postgresql create table with index
CREATE INDEX index_name
ON table_name (column_name);
Example 2: create index concurrently postgres
create index concurrently [index_name] on [table_name]([column_name]);