diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-08-08 18:37:22 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-08-08 18:37:22 +0900 |
commit | c0747e2f39a1c040c50e63fb41e23dfa6e30f2fc (patch) | |
tree | 62c1754d2c048161864b55fad53e4cfd659839a5 /guides/source | |
parent | 64b5c849a071e7cd2c244258f2fb43850df53cb7 (diff) | |
download | rails-c0747e2f39a1c040c50e63fb41e23dfa6e30f2fc.tar.gz rails-c0747e2f39a1c040c50e63fb41e23dfa6e30f2fc.tar.bz2 rails-c0747e2f39a1c040c50e63fb41e23dfa6e30f2fc.zip |
use uuid method to define the UUID type [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_postgresql.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |