Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@
<Build Include="Stored Procedures\Adf\AdfMergeattribute.sql" />
<Build Include="Tables\MIB\MoodleInstanceConfigs.sql" />
<None Include="Scripts\Post-Deploy\Scripts\TD-7116-mib_new_env.sql" />
<None Include="Scripts\Post-Deploy\Scripts\TD-7106-Resume-Databricks-Ingestion.sql" />
</ItemGroup>
<ItemGroup>
<None Include="Scripts\Pre-Deploy\Scripts\Card5766_AuthorTableChanges.PreDeployment.sql" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ UPDATE [resources].[ResourceVersion] SET CertificateEnabled = 0 WHERE VersionSta
:r .\Scripts\PPSXFileType.sql
:r .\Scripts\UpdateFileTypes.sql
:r .\Scripts\TD-7116-mib_new_env.sql

:r .\Scripts\TD-7106-Resume-Databricks-Ingestion.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
IF EXISTS (
SELECT 1
FROM sys.change_tracking_databases
WHERE database_id = DB_ID()
)
BEGIN
PRINT 'Change Tracking is enabled. Executing setup...';

EXEC dbo.lakeflowSetupChangeTracking
@Tables = 'activity.ResourceActivity', --(to include all other tables with CT enabled)
@User = 'Elfhadmin',
@Retention = '2 DAYS';
END
ELSE
BEGIN
PRINT 'Change Tracking is NOT enabled on this database. Skipping execution.';
END
Loading