Skip sha_attribute if we're checking statically
This commit is contained in:
parent
8139895b43
commit
f4bd9c0b5e
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ module ShaAttribute
|
|||
|
||||
module ClassMethods
|
||||
def sha_attribute(name)
|
||||
return if ENV['STATIC_VERIFICATION']
|
||||
return unless table_exists?
|
||||
|
||||
column = columns.find { |c| c.name == name.to_s }
|
||||
|
|
Loading…
Reference in a new issue