vprokopchuk256 / mv-postgresql

Postgresql constraints in migrations similiar to ActiveRecord validations
MIT License
20 stars 2 forks source link

:message option does not work for :customer validator #6

Closed greyblake closed 8 years ago

greyblake commented 8 years ago

It raises exception with default message.

vprokopchuk256 commented 8 years ago

@greyblake - could you provide your validator definition, pls? The problem might be that :message is not supported for :check type validators. It is supported by :trigger only.