]> git.openstreetmap.org Git - rails.git/blobdiff - script/normalise-structure
Add actions workflow to run tests
[rails.git] / script / normalise-structure
diff --git a/script/normalise-structure b/script/normalise-structure
new file mode 100644 (file)
index 0000000..9cf0b6c
--- /dev/null
@@ -0,0 +1,10 @@
+/^$/d
+/^--/d
+/^CREATE EXTENSION IF NOT EXISTS plpgsql /d
+/^COMMENT ON EXTENSION plpgsql /d
+/^SET default_with_oids /d
+/^SET default_table_access_method /d
+/^SET idle_in_transaction_session_timeout /d
+/^    AS integer$/d
+
+s/ IMMUTABLE / /