Fix for SQL database import formats (#358)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-08-19 10:27:22 -07:00 committed by Alex Stephen
parent 75b2819fd9
commit 0dcaa2d646
2 changed files with 24 additions and 6 deletions

View file

@ -50,12 +50,18 @@ options:
type: str
charset:
description:
- The MySQL charset value.
- The charset value. See MySQL's [Supported Character Sets and Collations](U(https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html))
and Postgres' [Character Set Support](U(https://www.postgresql.org/docs/9.6/static/multibyte.html))
for more details and supported values. Postgres databases only support a value
of `UTF8` at creation time.
required: false
type: str
collation:
description:
- The MySQL collation value.
- The collation value. See MySQL's [Supported Character Sets and Collations](U(https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html))
and Postgres' [Collation Support](U(https://www.postgresql.org/docs/9.6/static/collation.html))
for more details and supported values. Postgres databases only support a value
of `en_US.UTF8` at creation time.
required: false
type: str
name:
@ -103,12 +109,18 @@ EXAMPLES = '''
RETURN = '''
charset:
description:
- The MySQL charset value.
- The charset value. See MySQL's [Supported Character Sets and Collations](U(https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html))
and Postgres' [Character Set Support](U(https://www.postgresql.org/docs/9.6/static/multibyte.html))
for more details and supported values. Postgres databases only support a value
of `UTF8` at creation time.
returned: success
type: str
collation:
description:
- The MySQL collation value.
- The collation value. See MySQL's [Supported Character Sets and Collations](U(https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html))
and Postgres' [Collation Support](U(https://www.postgresql.org/docs/9.6/static/collation.html))
for more details and supported values. Postgres databases only support a value
of `en_US.UTF8` at creation time.
returned: success
type: str
name:

View file

@ -67,12 +67,18 @@ resources:
contains:
charset:
description:
- The MySQL charset value.
- The charset value. See MySQL's [Supported Character Sets and Collations](U(https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html))
and Postgres' [Character Set Support](U(https://www.postgresql.org/docs/9.6/static/multibyte.html))
for more details and supported values. Postgres databases only support a value
of `UTF8` at creation time.
returned: success
type: str
collation:
description:
- The MySQL collation value.
- The collation value. See MySQL's [Supported Character Sets and Collations](U(https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html))
and Postgres' [Collation Support](U(https://www.postgresql.org/docs/9.6/static/collation.html))
for more details and supported values. Postgres databases only support a value
of `en_US.UTF8` at creation time.
returned: success
type: str
name: