What does `meltano schema create` do? Can’t find ...
# troubleshooting
a
What does
meltano schema create
do? Can’t find anything about it in the docs.
a
Hi, @andrew_stewart. I personally have not used this so I’m not sure if it should be required for general operations. However, to answer your question, the command creates a new database schema in the case that it does not already exist. Using
meltano schema create --help
as a template, the first argument
SCHEMA
is the schema name and the second
ROLES
argument should be one or more roles which should be granted access. My understanding is that this command by default operates on the Meltano internal system database and shouldn’t generally be required to be run directly.
Does this help?
a
Yup! I was just curious bc I could imagine it pertaining to multiple different functions w/in meltano (meltano’s internal db schemas, target db schemas, defining tap schema metadata stuff, etc).
a
Absolutely. I think that is very likely what it was likely created for. 👍