- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Added support for Npgsql data source #112
Conversation
…rt passing also data source
Updated base class to accept DBConnection
Added CommandBuilder that takes NpgsqlDataSource
…ntext It seems that there's some issue (caching?) when multiple SQL statements are being called on changing database structure
3215970
to
ac7889f
Compare
…g PostgresqlProviderTests interference
5a65d02
to
640a257
Compare
Changed order of the extension methods parameters to extend connection, instead of builder. That should allow next extensions for data source. It'll be more clear to see responsibilities.
af7f5c5
to
78f0976
Compare
…they're not used anymore
} | ||
|
||
migration.AssertPatchingIsValid(autoCreate); | ||
|
||
logger ??= new DefaultMigrationLogger(); | ||
await executeDelta(migration, conn, autoCreate, logger, ct).ConfigureAwait(false); | ||
return executeDelta(migration, conn, autoCreate, logger, ct); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this synchronous now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not synchronous, I just removed async from the method definition and removed redundant await (see. also above replacement of return;
with Task.CompletedTask
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go, go, go!
cbceb6a
to
e672528
Compare
…qlDataSource all ahead, so applied that Postgres Database management
e672528
to
a857bae
Compare
See also npgsql/npgsql#5485.