File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change 44-- User Regions
55-- -----------------------
66
7- -- DEBUG: Show Flyway migration history in logs
8- DO $$
9- DECLARE
10- migration_history TEXT ;
11- BEGIN
12- SELECT string_agg(
13- format(' installed_rank: %s | version: %s | description: %s | type: %s | script: %s | checksum: %s | installed_on: %s | execution_time: %s | success: %s' ,
14- installed_rank,
15- COALESCE(version, ' NULL' ),
16- description,
17- type,
18- script,
19- COALESCE(checksum::TEXT , ' NULL' ),
20- installed_on,
21- execution_time,
22- success
23- ),
24- E' \n '
25- ORDER BY installed_rank DESC
26- )
27- INTO migration_history
28- FROM flyway_schema_history
29- ORDER BY installed_rank DESC
30- LIMIT 20 ;
31-
32- RAISE EXCEPTION E' FLYWAY MIGRATION HISTORY (last 20):\n %' , migration_history;
33- END $$;
34-
357-- Function to validate GeoJSON before saving
368CREATE OR REPLACE FUNCTION validate_user_region_geojson ()
379RETURNS TRIGGER AS $$
You can’t perform that action at this time.
0 commit comments