Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-09-18 12:15:33 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2017-12-03 14:04:47 +0300
commit636376dd4d41856cc965718725f06bb8caacfd34 (patch)
tree5b1c61cd0b4d0d996268d97ab11ed58c1778b0fb /app/models
parente0f84130567dc34edf1ae75fcf595e24991d2fa9 (diff)
WIP
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ci/artifact.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/ci/artifact.rb b/app/models/ci/artifact.rb
new file mode 100644
index 00000000000..c66c560037e
--- /dev/null
+++ b/app/models/ci/artifact.rb
@@ -0,0 +1,12 @@
+module Ci
+ class Artifact < ActiveRecord::Base
+ belongs_to :build, class_name: "Ci::Build"
+ belongs_to :project, class_name: "Ci::Build"
+
+ enum type {
+ archive: 0,
+ metadata: 1,
+ trace: 2
+ }
+ end
+end