It wasn't a mistake during abstraction so I don't know what it is and why it's tinyint(4).
Affected wikis to be altered in production by @Marostegui :
alter table ipblocks_restrictions change column ir_type ir_type tinyint(4) NOT NULL;
- s5
- apiportalwiki
- arbcom_ruwiki
- avkwiki
- jawikivoyage
- lldwiki
- thankyouwiki
- smnwiki (T264900)
- s3
- arywiki
- awawiki
- banwiki
- gcrwiki
- gewikimedia
- gomwiktionary
- grwikimedia
- hiwikisource
- hywwiki
- lijwikisource
- liwikinews
- minwiktionary
- mnwwiki
- napwikisource
- ngwikimedia
- nqowiki
- punjabiwikimedia
- shnwiki
- shnwiktionary
- shywiktionary
- sysop_itwiki
- szywiki
- yuewiktionary
- Patch code to make this tinyint(4) so new wikis are created with this, to be done by @Ladsgroup