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

CreateTablesIfNotExists() generates an error when using sql server driver #450

Open
esetnik opened this issue Dec 19, 2023 · 0 comments
Open

Comments

@esetnik
Copy link

esetnik commented Dec 19, 2023

Error: Could not create constraint or index. See previous errors.

The TSQL does not support CREATE TABLE IF NOT EXISTS syntax so a workaround needs to be implemented in the sqlserver driver.

https://database.guide/create-a-table-if-it-doesnt-exist-in-sql/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant