Skip to content

Commit

Permalink
Setting system_versioning_alter_history when ALTER table is called.
Browse files Browse the repository at this point in the history
  • Loading branch information
milo-hyben committed Apr 3, 2024
1 parent 5574143 commit 12a1f0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion db/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,11 @@

<!-- make the configPath nullable -->

<sql>ALTER TABLE analysis_runner MODIFY COLUMN config_path VARCHAR(255) NULL;</sql>
<sql>
SET @@system_versioning_alter_history = 1;
ALTER TABLE analysis_runner MODIFY COLUMN config_path VARCHAR(255) NULL;
SET @@system_versioning_alter_history = 0;
</sql>

<!-- Migrate all the old analysis_runner records into the new table (don't delete existing ones for now) -->

Expand Down

0 comments on commit 12a1f0d

Please sign in to comment.