Made the command more explicit for idempotency. - Drop index explicitly (even though PostgreSQL does it automatically when a column is dropped, but it might be good practice to account for any unforeseen failures). - Drop column. - Create column. - Create index (if we reach this point, column has already been created and no error was thrown). Figured we do not need extra queries to check ObjectMetadata for the existence of person table on a workspace - we can use the IF EXISTS syntax instead. --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>