mirror of
https://github.com/coder/coder.git
synced 2026-06-05 22:18:20 +00:00
chore(coderd/database/queries): remove trailing whitespace (#20192)
This commit is contained in:
committed by
GitHub
parent
6b72ef8b18
commit
057d7dacdc
@@ -6,14 +6,14 @@ DO $$
|
||||
DECLARE
|
||||
table_record record;
|
||||
BEGIN
|
||||
FOR table_record IN
|
||||
SELECT table_schema, table_name
|
||||
FROM information_schema.tables
|
||||
FOR table_record IN
|
||||
SELECT table_schema, table_name
|
||||
FROM information_schema.tables
|
||||
WHERE table_schema NOT IN ('pg_catalog', 'information_schema')
|
||||
AND table_type = 'BASE TABLE'
|
||||
LOOP
|
||||
EXECUTE format('ALTER TABLE %I.%I DISABLE TRIGGER ALL',
|
||||
table_record.table_schema,
|
||||
EXECUTE format('ALTER TABLE %I.%I DISABLE TRIGGER ALL',
|
||||
table_record.table_schema,
|
||||
table_record.table_name);
|
||||
END LOOP;
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user