mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Issue #397: Implement logging of DDL queries to migration files
This commit is contained in:
@ -140,7 +140,7 @@ type
|
||||
|
||||
TAppSettingDataType = (adInt, adBool, adString);
|
||||
TAppSettingIndex = (asHiddenColumns, asFilter, asSort, asDisplayedColumnsSorted, asLastSessions,
|
||||
asLastActiveSession, asAutoReconnect, asRestoreLastUsedDB, asLastUsedDB, asTreeBackground, asIgnoreDatabasePattern,
|
||||
asLastActiveSession, asAutoReconnect, asRestoreLastUsedDB, asLastUsedDB, asTreeBackground, asIgnoreDatabasePattern, asLogMigrations, asLogMigrationsPath,
|
||||
asFontName, asFontSize, asTabWidth, asDataFontName, asDataFontSize, asDataLocalNumberFormat, asHintsOnResultTabs, asHightlightSameTextBackground,
|
||||
asLogsqlnum, asLogsqlwidth, asSessionLogsDirectory, asLogHorizontalScrollbar, asSQLColActiveLine,
|
||||
asSQLColMatchingBraceForeground, asSQLColMatchingBraceBackground,
|
||||
@ -3399,6 +3399,8 @@ begin
|
||||
InitSetting(asLastUsedDB, 'lastUsedDB', 0, False, '', True);
|
||||
InitSetting(asTreeBackground, 'TreeBackground', clNone, False, '', True);
|
||||
InitSetting(asIgnoreDatabasePattern, 'IgnoreDatabasePattern', 0, False, '', True);
|
||||
InitSetting(asLogMigrations, 'LogMigrations', 0, False, '', True);
|
||||
InitSetting(asLogMigrationsPath, 'LogMigrationsPath', 0, False, DirnameUserAppData + 'Migrations\%session\', True);
|
||||
if Screen.Fonts.IndexOf('Consolas') > -1 then
|
||||
InitSetting(asFontName, 'FontName', 0, False, 'Consolas')
|
||||
else
|
||||
|
Reference in New Issue
Block a user