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

CI: Enable More SQL Server Tests #2119

Merged
merged 2 commits into from Aug 4, 2021
Merged

Conversation

pimeys
Copy link
Contributor

@pimeys pimeys commented Aug 3, 2021

The remaining tests are mainly optional relations, where we can for now only have one null per column. We can enable those when we have the allowNullValues: true in the foreign keys/indices.

Closes: prisma/prisma#8544

@pimeys pimeys added this to the 2.29.0 milestone Aug 3, 2021
#[test_connector(exclude(Mssql))]
fn reserved_sql_key_words_must_work(api: TestApi) {
#[test_connector]
fn reserved_sql_keywords_must_work(api: TestApi) {
// Group is a reserved keyword
let dm = r#"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For these you could use the new api.schema_push_w_datasource(dm1). This is adds the correct datasource and generator (generator should probably be mentioned in the method name). You'll probably get that already as merge conflict though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do that in another review round later this week!

@pimeys pimeys merged commit e38b885 into master Aug 4, 2021
@pimeys pimeys deleted the ci/enable-more-sql-server-tests branch August 4, 2021 07:51
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

Successfully merging this pull request may close these issues.

Remove skipped SQL Server tests
2 participants