Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding a column to a table install

  • @darkling235

    Member

    I have the code to work with the new field in the DB all ready and tested. To test it I just created a new column in the user table manually. Is there a way to do it automatically on install?

    I.E. bbpress creates a bunch of tables and fields when it is first activated, how can I alter what tables are created and what columns they possess?

Viewing 1 replies (of 1 total)
  • @fel64

    Member

    You can use plugin scripts, but this is a terrible idea. This is exactly what the wp_/bb_usermeta table is for.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar