Skip to content

Conversation

@l-dufour
Copy link
Collaborator

No description provided.

LDFOUR\luisd added 4 commits February 18, 2025 13:50
Swagger implemented to register new endpoints. View URL: /api/documentation
I added the Contributor model with a relationship for each OrganizationDetail to maintain the translation of each contributor.
I updated the GET and PUT endpoints for organizations.
Schema::dropIfExists('contributors');
Schema::create('contributors', function (Blueprint $table) {
$table->increments('id');
$table->text('name');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add the length of this column and others

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use string and set the lenght $table->string('name', "MAX");

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set the length for the columns.
For the logo column, I set the length to 2048 to store signed URLs.

Copy link
Collaborator

@joseganora joseganora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the comment on the migration

I set the length for the contributors column. For the logo column, I set the length to 2048 to store signed URLs.
@l-dufour l-dufour requested a review from joseganora February 19, 2025 11:37
@l-dufour l-dufour merged commit 1a832a4 into develop Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants