Commit graph

3 commits

Author SHA1 Message Date
Lin Jen-Shin
f4bd9c0b5e Skip sha_attribute if we're checking statically 2017-12-26 17:18:10 +08:00
Sean McGivern
38fd773bd3 Fix ShaAttribute concern when there is no table
When this is added to a new model, it would fail before the migrations were run
- including when trying to run migrations in production mode!
2017-07-07 12:42:38 +01:00
Yorick Peterse
af1f6844c9
Added code for defining SHA attributes
These attributes are stored in binary in the database, but exposed as
strings. This allows one to query/create data using plain SHA1 hashes as
Strings, while storing them more efficiently as binary.
2017-06-29 15:37:37 +02:00