- 主題:本站内容主要是本人關注的互聯網行業及個人愛好方面的主題,包括AdSense💲、MediaWiki👨💻、Drupal💻、馬拉松🏃、架子鼓🥁等。
- 書訊:本人新書2018年12月出版《Google AdSense實戰寶典 - 第二版📘》,歡迎關注。
Drupal 7中我們采用了自建table的方式來避免node過于複雜、性能低的問題,需要安裝Data、Schema等模塊,不過我們發現新增有些字段類型會遇到報錯,例如:mysql中添加timestamp字段,會看到這樣的報錯:
User warning: table_name.pub_date: no type for schema type timestamp:normal. in schema_engine_type() (line 368 of /drupal_path/sites/all/modules/schema/schema.module)