-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organization: add null constraints and update org create service #913
Comments
Seems like a fun one! I'll take it |
@Gabe-Torres all yours! |
This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned. |
Automatically unassigned after 7 days of inactivity. |
Looks like this task was completed with #918. Can this issue be closed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please add null constraints on organizations table in the database for
name
,slug
,email
and then update then add email attribute to the Organizations::CreateService when creating an Organization.Also on the Organization model, we need to validate:
name
for presenceslug
for presence and also do not allow any characters that are forbidden in URLs. Look into options for validating this slug.email
for format, presence.The text was updated successfully, but these errors were encountered: