We can add an index to a table right when creating that table - like this:
CREATE TABLE <table_name> (
... column definitions,
INDEX <index_name> (<column>)
);
Please note that this is supported when using MySQL but it won't work with PostgreSQL.