WordPress.org

Support

Support » Plugins and Hacks » alter postmeta to set meta_value to varchar(255)

alter postmeta to set meta_value to varchar(255)

  • 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)

Viewing 1 replies (of 1 total)
  • 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).

Viewing 1 replies (of 1 total)
  • The topic ‘alter postmeta to set meta_value to varchar(255)’ is closed to new replies.