You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way I activate the “PreviewOnly” mode and it won't change. However, the mode can change: some migrations can be executed in "dry run" mode, while others can execute the SQL queries on the database, depending on the user's choice.
The aim of “dry run” mode is to provide the user with a list of SQL queries to execute.
How can I configure migration to take into account the change in value of the “PreviewOnly” option?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In the Startup.cs file of an ASP.NET Core application, I want to configure the “PreviewOnly” migration mode:
This way I activate the “PreviewOnly” mode and it won't change. However, the mode can change: some migrations can be executed in "dry run" mode, while others can execute the SQL queries on the database, depending on the user's choice.
The aim of “dry run” mode is to provide the user with a list of SQL queries to execute.
How can I configure migration to take into account the change in value of the “PreviewOnly” option?
Information:
OS: Windows 10.0.22631 Build 22631
Platform: .Net Core 8.0.11
FluentMigrator version: 5.2.0
Database Management System: Oracle, PostgreSQL, SQLServer
Beta Was this translation helpful? Give feedback.
All reactions