Why does Drupal not allow you to specify the integer length with type int in hook_schema?


Please see the Data Types documentation, I believe you can use tiny, small, medium, big, normal

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.