summaryrefslogtreecommitdiff
path: root/app/models/release.rb
blob: 89f70278af5bac889e5af3aa79a4a0de9e8bbbc6 (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(255)
#  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