-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af39e9d
commit b78aa49
Showing
5 changed files
with
19 additions
and
42 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
core/lib/dal/migrations/20240723143707_remove_redundant_keys.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ALTER TABLE protocol_versions ADD COLUMN IF NOT EXISTS recursion_node_level_vk_hash; | ||
ALTER TABLE protocol_versions ADD COLUMN IF NOT EXISTS recursion_leaf_level_vk_hash; | ||
ALTER TABLE protocol_versions ADD COLUMN IF NOT EXISTS recursion_circuits_set_vks_hash; | ||
ALTER TABLE protocol_versions ALTER COLUMN recursion_node_level_vk_hash SET NOT NULL; | ||
ALTER TABLE protocol_versions ALTER COLUMN recursion_leaf_level_vk_hash SET NOT NULL; | ||
ALTER TABLE protocol_versions ALTER COLUMN recursion_circuits_set_vks_hash SET NOT NULL; | ||
|
||
ALTER TABLE protocol_patches ADD COLUMN IF NOT EXISTS recursion_node_level_vk_hash; | ||
ALTER TABLE protocol_patches ADD COLUMN IF NOT EXISTS recursion_leaf_level_vk_hash; | ||
ALTER TABLE protocol_patches ADD COLUMN IF NOT EXISTS recursion_circuits_set_vks_hash; | ||
ALTER TABLE protocol_patches ALTER COLUMN recursion_node_level_vk_hash SET NOT NULL; | ||
ALTER TABLE protocol_patches ALTER COLUMN recursion_leaf_level_vk_hash SET NOT NULL; | ||
ALTER TABLE protocol_patches ALTER COLUMN recursion_circuits_set_vks_hash SET NOT NULL; |
12 changes: 6 additions & 6 deletions
12
core/lib/dal/migrations/20240723143707_remove_redundant_keys.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ALTER TABLE protocol_versions DROP COLUMN IF EXISTS recursion_node_level_vk_hash; | ||
ALTER TABLE protocol_versions DROP COLUMN IF EXISTS recursion_leaf_level_vk_hash; | ||
ALTER TABLE protocol_versions DROP COLUMN IF EXISTS recursion_circuits_set_vks_hash; | ||
ALTER TABLE protocol_versions ALTER COLUMN recursion_node_level_vk_hash DROP NOT NULL; | ||
ALTER TABLE protocol_versions ALTER COLUMN recursion_leaf_level_vk_hash DROP NOT NULL; | ||
ALTER TABLE protocol_versions ALTER COLUMN recursion_circuits_set_vks_hash DROP NOT NULL; | ||
|
||
ALTER TABLE protocol_patches DROP COLUMN IF EXISTS recursion_node_level_vk_hash; | ||
ALTER TABLE protocol_patches DROP COLUMN IF EXISTS recursion_leaf_level_vk_hash; | ||
ALTER TABLE protocol_patches DROP COLUMN IF EXISTS recursion_circuits_set_vks_hash; | ||
ALTER TABLE protocol_patches ALTER COLUMN recursion_node_level_vk_hash DROP NOT NULL; | ||
ALTER TABLE protocol_patches ALTER COLUMN recursion_leaf_level_vk_hash DROP NOT NULL; | ||
ALTER TABLE protocol_patches ALTER COLUMN recursion_circuits_set_vks_hash DROP NOT NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
prover/crates/lib/prover_dal/migrations/20240723153338_remove_redundant_keys.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ALTER TABLE prover_fri_protocol_versions ADD COLUMN IF NOT EXISTS recursion_node_level_vk_hash; | ||
ALTER TABLE prover_fri_protocol_versions ADD COLUMN IF NOT EXISTS recursion_leaf_level_vk_hash; | ||
ALTER TABLE prover_fri_protocol_versions ADD COLUMN IF NOT EXISTS recursion_circuits_set_vks_hash; | ||
ALTER TABLE prover_fri_protocol_versions ALTER COLUMN recursion_node_level_vk_hash SET NOT NULL; | ||
ALTER TABLE prover_fri_protocol_versions ALTER COLUMN recursion_leaf_level_vk_hash SET NOT NULL; | ||
ALTER TABLE prover_fri_protocol_versions ALTER COLUMN recursion_circuits_set_vks_hash SET NOT NULL; |
6 changes: 3 additions & 3 deletions
6
prover/crates/lib/prover_dal/migrations/20240723153338_remove_redundant_keys.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ALTER TABLE prover_fri_protocol_versions DROP COLUMN IF EXISTS recursion_node_level_vk_hash; | ||
ALTER TABLE prover_fri_protocol_versions DROP COLUMN IF EXISTS recursion_leaf_level_vk_hash; | ||
ALTER TABLE prover_fri_protocol_versions DROP COLUMN IF EXISTS recursion_circuits_set_vks_hash; | ||
ALTER TABLE prover_fri_protocol_versions ALTER COLUMN recursion_node_level_vk_hash DROP NOT NULL; | ||
ALTER TABLE prover_fri_protocol_versions ALTER COLUMN recursion_leaf_level_vk_hash DROP NOT NULL; | ||
ALTER TABLE prover_fri_protocol_versions ALTER COLUMN recursion_circuits_set_vks_hash DROP NOT NULL; |