diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-09-19 12:04:38 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:57:14 -0200 |
commit | d820c090ec85f8118e4cea75bd63d800e812ea25 (patch) | |
tree | 63ab9b40c13f1a44add19cad9d40f4c58f7f31c8 /app/models/group_label.rb | |
parent | d927336403a92d340d7e5b2d2328c5a0e029d666 (diff) | |
download | gitlab-ce-d820c090ec85f8118e4cea75bd63d800e812ea25.tar.gz |
Add GroupLabel model
Diffstat (limited to 'app/models/group_label.rb')
-rw-r--r-- | app/models/group_label.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/group_label.rb b/app/models/group_label.rb new file mode 100644 index 00000000000..a854d075820 --- /dev/null +++ b/app/models/group_label.rb @@ -0,0 +1,5 @@ +class GroupLabel < Label + belongs_to :group + + validates :group, presence: true +end |