Browse Source

Schema Class: Update compatibility with timestamptz field types.

Nate 6 năm trước cách đây
mục cha
commit
a1c9622c46
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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") {