CREATE EXTENSION vector;
to enable the extension on the newly created database and then, for example, CREATE INDEX ON {table_name} USING hnsw ({field_name} vector_l2_ops) WITH (m = 16, ef_construction = 64);
to create the index. As far as I understand, there is no default index.