Skip to content

Commit

Permalink
Merge pull request #48237 from a5-stable/fix-precision-maximum-for-mysql
Browse files Browse the repository at this point in the history
fix a comment on `add_column` regarding the maximum value of precision in MySQL
  • Loading branch information
yahonda committed May 17, 2023
2 parents 77ce7d6 + ac1184d commit a6bfa6c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -576,7 +576,7 @@ def drop_table(table_name, **options)
# * The SQL standard says the default scale should be 0, <tt>:scale</tt> <=
# <tt>:precision</tt>, and makes no comments about the requirements of
# <tt>:precision</tt>.
# * MySQL: <tt>:precision</tt> [1..63], <tt>:scale</tt> [0..30].
# * MySQL: <tt>:precision</tt> [1..65], <tt>:scale</tt> [0..30].
# Default is (10,0).
# * PostgreSQL: <tt>:precision</tt> [1..infinity],
# <tt>:scale</tt> [0..infinity]. No default.
Expand Down

0 comments on commit a6bfa6c

Please sign in to comment.