1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix formatting of primary_key [ci skip]

This commit is contained in:
yuuji.yaginuma 2018-06-24 09:38:27 +09:00
parent 308bcc2d56
commit ee708cf402

View file

@ -13,10 +13,10 @@ module ActiveRecord
# t.timestamps
# end
#
# By default, this will use the +gen_random_uuid()+ function from the
# By default, this will use the <tt>gen_random_uuid()</tt> function from the
# +pgcrypto+ extension. As that extension is only available in
# PostgreSQL 9.4+, for earlier versions an explicit default can be set
# to use +uuid_generate_v4()+ from the +uuid-ossp+ extension instead:
# to use <tt>uuid_generate_v4()</tt> from the +uuid-ossp+ extension instead:
#
# create_table :stuffs, id: false do |t|
# t.primary_key :id, :uuid, default: "uuid_generate_v4()"