Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set schema owner for version table schema #1517

Open
josh-hoiland opened this issue Sep 20, 2021 · 2 comments
Open

Set schema owner for version table schema #1517

josh-hoiland opened this issue Sep 20, 2021 · 2 comments
Labels
feature:has-workaround feature A new feature (we all like those) propose-close

Comments

@josh-hoiland
Copy link

Is your feature request related to a problem? Please describe.
I have a custom implementation of IVersionTableMetaData where I am setting SchemaName. And then, in my migrations, I'm creating tables in the same schema, and I'd like to be able to set the schema owner. It looks like if I create the schema from within a migration, I can set the owner with the ICreateSchemaOptionSyntax.Authorization extension method, but since the schema is being created by the version table migrations, this fails.

Describe the solution you'd like
Add another property to IVersionTableMetaData for schema owner

Is this a feature you'd like to submit a PR for?
no

@jzabroski
Copy link
Collaborator

Can you alter the authorization after it has been created instead?

@josh-hoiland
Copy link
Author

Yeah, I should have mentioned that's what I'm doing as a workaround.

@jzabroski jzabroski added feature A new feature (we all like those) feature:has-workaround labels May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:has-workaround feature A new feature (we all like those) propose-close
Projects
None yet
Development

No branches or pull requests

3 participants