WordPress.org

Ready to get started?Download WordPress

Forums

alter postmeta to set meta_value to varchar(255) (2 posts)

  1. Muhammad Mahmoud
    Member
    Posted 4 years ago #

    hi all

    is it will be wrong if i altered postmeta table

    to change meta_value field type from longtext to varchar(255)

    i do this to can index (meta_value)

  2. MichaelH
    Member
    Posted 4 years ago #

    It seems you could do that but I would make a backup of your database tables first. See WordPress Backups.

    Better yet try it on a test blog first (like install XAMPP and WordPress on local PC).

Topic Closed

This topic has been closed to new replies.

About this Topic