1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 custom table prefixes?

Discussion in 'Installation, Upgrade, and Import Support' started by dougdirac, Sep 24, 2015.

  1. dougdirac

    dougdirac Member

    In vB and WordPress I have the option to set a custom table prefix in the database.

    For example I have a couple WordPress installations (that serve specific functions) on the same database. During installation I can select a custom table prefix for all the tables that installation creates in the database. All addons I install also automatically get that prefix. That way there are no conflicts.

    Does XF have such an option? I didn't see it during installation. I notice that all the XF tables start with xf_, but what's to keep an addon from using something different. Can I force all tables related to a specific XF installation and whatever addons to start with "foo_xf_" or whatever?

  2. kalco

    kalco Active Member

    Unfortunately this isn't possible for core code!
    You make add custom prefix for add-on before installation
  3. dougdirac

    dougdirac Member

    Hmm... well this is something that should perhaps be added in version 2.0.

Share This Page