Skip to content
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

fix: page body column size #91

Merged
merged 4 commits into from
May 28, 2024

Conversation

lamonato29
Copy link
Contributor

This PR will give the possibility of creating bigger pages, with more content.

Attention: if you have already installed MyAAC, you will need to change the table structure manually.
The following SQL command will do the trick:

ALTER TABLE myaac_pagesCHANGEbody body LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;

@lamonato29 lamonato29 changed the title fix: page bodies is limited to TEXT lenght (65,535 bytes) fix: page body is limited to TEXT lenght (65,535 bytes) May 3, 2024
@elsongabriel
Copy link
Collaborator

every we change schema.sql it's recomended to create a migration with this change.

@lamonato29
Copy link
Contributor Author

every we change schema.sql it's recomended to create a migration with this change.

Done!

@elsongabriel
Copy link
Collaborator

elsongabriel commented May 28, 2024

Its necessary to update DATABASE_VERSION with the actual migration sequence in common.php, to migrate runs.

@elsongabriel elsongabriel changed the title fix: page body is limited to TEXT lenght (65,535 bytes) fix: page body column size May 28, 2024
@elsongabriel elsongabriel merged commit 0b70b03 into opentibiabr:main May 28, 2024
4 checks passed
lucas-caminha pushed a commit to lucas-caminha/myaac that referenced this pull request Jun 30, 2024
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