Add ar_id and el_id sequences for PostgreSQL

PostgreSQL needs sequences created before nextval
is used as the default value, populating newly
created fields.

Followup to: Ib6b0fc3736d173fa4ba7b786ecfc710b2f4711bb

Bug: 15441
Bug: 39675
Bug: 56185
Change-Id: Ia21d5bddead257a33a13e3ff2ec508041843613b
Merge "Add ar_id and el_id sequences for PostgreSQL"