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

fix(driver): Resolve Exception during PerformUpgrade using LogScriptOutput #577 #5

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

jafin
Copy link

@jafin jafin commented Jan 30, 2024

Just an update from 2001 to resolve #2

Checklist

  • I have read the Contributing Guide
  • I have checked to ensure this does not introduce an unintended breaking changes
  • I have considered appropriate testing for my change

Description

Breaking changes ⚠️

  • Drop non supported frames. (Netstandard 1.3/Mono)
  • Replace System.Data.SQLite with Microsoft.Data.SqLite
  • Create removed from TemporarySQLiteDatabase, it is now implicit

Note: targeting main because that is all I can see.

…ut #577

 - Drop non supported frames.  (Netstandard 1.3/Mono)
- Replace System.Data.SQLite with Microsoft.Data.SqLite
- Breaking change `Create` removed from TemporarySQLiteDatabase, it is now implicit
@jafin jafin changed the title fix(driverResolve Exception during PerformUpgrade using LogScriptOutput #577 fix(driver): Resolve Exception during PerformUpgrade using LogScriptOutput #577 Jan 30, 2024
# Conflicts:
#	src/Tests/ApprovalFiles/NoPublicApiChanges.Run.Net.verified.cs
#	src/Tests/SQLiteSupportTests.cs
#	src/Tests/SQLiteTableJournalTests.cs
#	src/dbup-sqlite/Helpers/InMemorySQLiteDatabase.cs
#	src/dbup-sqlite/Helpers/TemporarySQLiteDatabase.cs
#	src/dbup-sqlite/SQLiteScriptExecutor.cs
#	src/dbup-sqlite/dbup-sqlite.csproj
@droyad droyad changed the base branch from main to release/6.0.0 July 29, 2024 06:37
Comment on lines +26 to +27
Mode = SqliteOpenMode.Memory,
ConnectionString = "PRAGMA encoding='UTF-16'; PRAGMA journal_mode='MEMORY';"
Copy link
Member

Choose a reason for hiding this comment

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

I missed these in my conversion. Don't know enough about SQLite to judge whether this is good/bad, but keeping it.

@droyad
Copy link
Member

droyad commented Jul 29, 2024

Thanks @jafin. Finally got to the refactor+upgrade and looks like I did many of the same things you did. I've merge in the v6 beta branch.

This is a good test, so worth including in the code base.

@droyad droyad merged commit f9aee5d into DbUp:release/6.0.0 Jul 29, 2024
1 check passed
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.

Exception during PerformUpgrade using LogScriptOutput with SQLite
2 participants