slackhq / hack-sql-fake

A library for testing database driven code in Hack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enforce data type sizes

ssandler opened this issue · comments

Currently we enforce in DataIntegrity that ints are ints and strings are strings, but we don't check lengths (like varchar(N) and int vs. bigint). We do parse this information so this shouldn't be too hard.

Work is in progress on this issue at Slack

Thanks to @akiljames83 for completing this!