我的用户注册表单有一个 10 位数长的联系号码(手机号码)字段。我使用了一个普通的整数字段,这给了我“超出范围”错误
PDOException:SQLSTATE [22003]:数值超出范围:1264 第 1 行的“field_mobile_number_value”列的值超出范围:INSERT INTO {field_revision_field_mobile_number}(entity_type、entity_id、revision_id、bundle、delta、language、field_mobile_number_value)值(: db_insert_placeholder_0,:db_insert_placeholder_1,:db_insert_placeholder_2,:db_insert_placeholder_3,:db_insert_placeholder_4,:db_insert_placeholder_5,:db_insert_placeholder_6);数组 ( [:db_insert_placeholder_0] => 用户 [:db_insert_placeholder_1] => 26 [:db_insert_placeholder_2] => 26 [:db_insert_placeholder_3] => 用户 [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => und [:db_insert_placeholder_6] => 9841232323 )在 field_sql_storage_field_storage_write() (C 的第 449 行:
Drupal 核心中似乎没有长整数字段。我该如何解决这个问题?
我什至尝试直接在数据库中将字段类型更改为“BIG INT”。但错误仍然存在。