]> git.openstreetmap.org Git - rails.git/commitdiff
Normalise timestamp types for database structure comparison
authorTom Hughes <tom@compton.nu>
Tue, 30 May 2023 17:57:09 +0000 (18:57 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 30 May 2023 17:57:09 +0000 (18:57 +0100)
script/normalise-structure

index 57279346c7d86a3f2955c417c99a419ed9b837d6..24b8f64e8f309c5a9b5496e3303fac066231a4f9 100644 (file)
@@ -9,3 +9,5 @@
 /^    AS integer$/d
 
 s/ IMMUTABLE / /
 /^    AS integer$/d
 
 s/ IMMUTABLE / /
+
+s/ timestamp(6) / timestamp /