3 ms·
> What about TIMESTAMP? DATETIME? The same thing as we've always done: proper column names and strong datatypes in the application layer.
by dotancohen 5y ago
> What about TIMESTAMP? DATETIME?
The same thing as we've always done: proper column names and strong datatypes in the application layer.
- SPBS 5y agoYeah, I'm starting to warm to the idea of `CREATE TABLE tbl ( created_at INT ) STRICT;`. The name still hints at what domain type it contains, and enforcing INT timestamps should make any indexes on that column considerably smaller.