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

Table comment field should be textarea #19118

Open
M393 opened this issue Apr 19, 2024 · 0 comments
Open

Table comment field should be textarea #19118

M393 opened this issue Apr 19, 2024 · 0 comments

Comments

@M393
Copy link
Contributor

M393 commented Apr 19, 2024

Describe the bug

When creating a table the table comment field is a textfield with limited character count.
It should be a textarea supporting longer comments.

To Reproduce

Steps to reproduce the behavior:

  1. Go to DB - Structure
  2. Click on Create new table -> Create
  3. Table comments is a textfield

Expected behavior

It should be possible to add a longer multi-line comment of up to 2048 characters.

MySQL

A comment for the table, up to 2048 characters long.

https://dev.mysql.com/doc/refman/8.0/en/create-table.html

MariaDB:

COMMENT is a comment for the table. The maximum length is 2048 characters.

https://mariadb.com/kb/en/create-table/#:~:text=The%20maximum%20length%20is%202048%20characters

Screenshots

image

Server configuration

  • Operating system: Linux
  • Web server: Apache 2.4
  • Database version: MariaDB 10.11.7
  • PHP version: 8.1
  • phpMyAdmin version: 5.2

Client configuration

  • Browser: Chrome
  • Operating system: Windows 10

Additional context

Before MySQL 5.5.3 table comment length was limited to 60 characters.

The maximum length of table comments was extended from 60 to 2048 characters.

https://downloads.mysql.com/docs/mysql-5.5-relnotes-en.pdf

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

No branches or pull requests

1 participant