If using active record, alternatively any integer attribute will work.