dev_shcool
parent
e5ad64831a
commit
537f152562
@ -1,3 +1,7 @@
|
|||||||
class QualityAnalysis < ActiveRecord::Base
|
class QualityAnalysis < ActiveRecord::Base
|
||||||
attr_accessible :author_login, :project_id, :rep_identifier, :sonar_version, :branch, :path, :rep_identifier, :language
|
attr_accessible :author_login, :project_id, :rep_identifier, :sonar_version, :branch, :path, :rep_identifier, :language
|
||||||
|
|
||||||
|
def user_rep_name
|
||||||
|
self.author_login+":"+self.rep_identifier
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
class AddNameToQualityAnalyses < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :quality_analyses, :language, :string
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue