Skip to content

Commit 6c6b9ed

Browse files
Updated collate and charset description (#2)
* Updated db defined type strings documentation * Updated collate and charset description * Update REFERENCE.md
1 parent 1412dd5 commit 6c6b9ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

REFERENCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,15 +1138,15 @@ Default value: `$name`
11381138

11391139
Data type: `Any`
11401140

1141-
The character set for the database. Must be set with collate to avoid corrective changes.
1141+
The character set for the database. Must have the same value as collate to avoid corrective changes. See https://dev.mysql.com/doc/refman/8.0/en/charset-mysql.html for charset and collation pairs.
11421142

11431143
Default value: `'utf8'`
11441144

11451145
##### <a name="collate"></a>`collate`
11461146

11471147
Data type: `Any`
11481148

1149-
The collation for the database. Must be set with charset to avoid corrective changes.
1149+
The collation for the database. Must have the same value as charset to avoid corrective changes. See https://dev.mysql.com/doc/refman/8.0/en/charset-mysql.html for charset and collation pairs.
11501150

11511151
Default value: `'utf8_general_ci'`
11521152

manifests/db.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
# @param dbname
1919
# The name of the database to create.
2020
# @param charset
21-
# The character set for the database. Must be set with collate to avoid corrective changes.
21+
# The character set for the database. Must have the same value as collate to avoid corrective changes. See https://dev.mysql.com/doc/refman/8.0/en/charset-mysql.html for charset and collation pairs.
2222
# @param collate
23-
# The collation for the database. Must be set with charset to avoid corrective changes.
23+
# The collation for the database. Must have the same value as charset to avoid corrective changes. See https://dev.mysql.com/doc/refman/8.0/en/charset-mysql.html for charset and collation pairs.
2424
# @param host
2525
# The host to use as part of user@host for grants.
2626
# @param grant

0 commit comments

Comments
 (0)