Missing FROM-clause entry with constraint on value from type in PostgreSQL
You need to put the domain name in parentheses:

CONSTRAINT price_cannot_be_less_than_ten 
  CHECK ( (oi_article_price).m_amount &gt;= 10)