Skip to content

Commit cd5ed65

Browse files
committed
fix redundant raise NOTICE 'DEBUG: ...'
1 parent 53d3e63 commit cd5ed65

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/archive/downgrade-to-berkeley.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ DECLARE
112112
col_name TEXT := 'element' || p_element_num;
113113
BEGIN
114114

115-
RAISE NOTICE 'DEBUG: trying to removing column % for zkapp_states_nullable', col_name;
115+
RAISE DEBUG 'Trying to removing column % for zkapp_states_nullable', col_name;
116116

117117
EXECUTE format(
118118
'ALTER TABLE zkapp_states_nullable DROP COLUMN IF EXISTS %I',
119119
col_name
120120
);
121121

122-
RAISE NOTICE 'DEBUG: ensured column % for zkapp_states_nullable not existent', col_name;
122+
RAISE DEBUG 'Ensured column % for zkapp_states_nullable not existent', col_name;
123123
EXCEPTION
124124
WHEN OTHERS THEN
125125
PERFORM set_migration_status('failed'::migration_status);

src/app/archive/upgrade-to-mesa.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ DECLARE
119119
col_name TEXT := 'element' || p_element_num;
120120
BEGIN
121121

122-
RAISE NOTICE 'DEBUG: adding column % for zkapp_states_nullable', col_name;
122+
RAISE DEBUG 'Adding column % for zkapp_states_nullable', col_name;
123123

124124
EXECUTE format(
125125
'ALTER TABLE zkapp_states_nullable ADD COLUMN IF NOT EXISTS %I INT REFERENCES zkapp_field(id)',
126126
col_name
127127
);
128128

129-
RAISE NOTICE 'DEBUG: added column % for zkapp_states_nullable', col_name;
129+
RAISE DEBUG 'Added column % for zkapp_states_nullable', col_name;
130130

131131
EXCEPTION
132132
WHEN OTHERS THEN

0 commit comments

Comments
 (0)