dockyard/postgres_ext — pull request #11 by elucid (2012-09-16 02:57:12+00:00)
Title: add support for UUID primary keys

ActiveRecord essentially assumes primary keys in PostgreSQL are sequences. As a result, there is no way to use the migrations DSL to create UUID primary key or add a primary key index to an existing UUID column.

I have been using `execute` with raw SQL to create tables with UUID primary keys, but support in the gem would be amazing.