提交 e7007e38 编写于 作者: A Abdelkader Boudih

Merge pull request #21170 from y-yagi/fix_uuid_example

use uuid method to define the UUID type [ci skip]
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册