Parcourir la source

Schema Class: Update compatibility with timestamptz field types.

Nate il y a 6 ans
Parent
commit
a1c9622c46
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      resources/classes/schema.php

+ 2 - 0
resources/classes/schema.php

@@ -685,6 +685,8 @@ if (!class_exists('schema')) {
 																		//field type has not changed
 																	} elseif ($db_field_type = "timestamp without time zone" && strtolower($field_type) == "datetime") {
 																		//field type has not changed
+																	} elseif ($db_field_type = "timestamp with time zone" && strtolower($field_type) == "timestamptz") {
+																		//field type has not changed
 																	} elseif ($db_field_type = "integer" && strtolower($field_type) == "numeric") {
 																		//field type has not changed
 																	} elseif ($db_field_type = "character" && strtolower($field_type) == "char") {