Procházet zdrojové kódy

Schema Class: Update compatibility with timestamptz field types.

Nate před 6 roky
rodič
revize
a1c9622c46
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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") {