From c0747e2f39a1c040c50e63fb41e23dfa6e30f2fc Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 8 Aug 2015 18:37:22 +0900 Subject: use uuid method to define the UUID type [ci skip] --- guides/source/active_record_postgresql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') diff --git a/guides/source/active_record_postgresql.md b/guides/source/active_record_postgresql.md index fe112a4708..9d495dfacb 100644 --- a/guides/source/active_record_postgresql.md +++ b/guides/source/active_record_postgresql.md @@ -252,7 +252,7 @@ extension to use uuid. ```ruby # db/migrate/20131220144913_create_revisions.rb create_table :revisions do |t| - t.column :identifier, :uuid + t.uuid :identifier end # app/models/revision.rb -- cgit v1.2.3