validations rails integer suprior to 0

class YourModel < ApplicationRecord
  validates :your_integer_column, numericality: { greater_than: 0, only_integer: true }, presence: true
end