summaryrefslogtreecommitdiff
path: root/app/models/release.rb
blob: dc700d1ea5a42c34fbc10cc42c5bb0372b3b92c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# == Schema Information
#
# Table name: releases
#
#  id          :integer          not null, primary key
#  tag         :string
#  description :text
#  project_id  :integer
#  created_at  :datetime
#  updated_at  :datetime
#

class Release < ActiveRecord::Base
  belongs_to :project

  validates :description, :project, :tag, presence: true
end