Commit 06fbd596 authored by Duncan Harris's avatar Duncan Harris

Increase validation length for project paths

parent 422d1187
......@@ -7,7 +7,7 @@ class SlackIntegration < ApplicationRecord
validates :team_name, presence: true
validates :alias, presence: true,
uniqueness: { scope: :team_id, message: 'This alias has already been taken' },
length: 2..80
length: 2..255
validates :user_id, presence: true
validates :integration, presence: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment