Commit a0a8e3e0 authored by Duncan Harris's avatar Duncan Harris

Increase limit from 255 to 4096

parent 06fbd596
...@@ -7,7 +7,7 @@ class SlackIntegration < ApplicationRecord ...@@ -7,7 +7,7 @@ class SlackIntegration < ApplicationRecord
validates :team_name, presence: true validates :team_name, presence: true
validates :alias, presence: true, validates :alias, presence: true,
uniqueness: { scope: :team_id, message: 'This alias has already been taken' }, uniqueness: { scope: :team_id, message: 'This alias has already been taken' },
length: 2..255 length: 2..4096
validates :user_id, presence: true validates :user_id, presence: true
validates :integration, 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