gitlab-org--gitlab-foss/app/models/board.rb
Douglas Barbosa Alexandre 611dab2e52 Add Board model
2016-08-17 12:58:57 -03:00

7 lines
137 B
Ruby

class Board < ActiveRecord::Base
belongs_to :project
has_many :lists, dependent: :destroy
validates :project, presence: true
end