#2 Database table prefix

closed
None
5
2005-02-02
2005-01-21
No

A prefix to table names. My web host only allows one
database so I have several applications using the same
database. A prefix to the table names would help me
keep track which app is using which tables.

ie:
channels becomes gregarius_channels or maybe greg_channels

Discussion

  • Anonymous - 2005-02-02

    Logged In: YES
    user_id=941549

    good point, will look into this

     
  • Anonymous - 2005-02-02
    • milestone: --> 467946
    • assigned_to: nobody --> mbonetti
     
  • Anonymous - 2005-02-02
    • milestone: 467946 --> Next Release (example)
    • status: open --> closed
     
  • Anonymous - 2005-02-02

    Logged In: YES
    user_id=941549

    Fixed in CVS.

    Note that this is a temporary fix as the user-defined table
    prefix is *not* used in dbstruct.sql when the database is
    initially populated: you'll have to edit that file and add
    the prefixes manually *before* importing the schema!

    I plan to add an automatic setup procedure sooner or later,
    which will fix this issue.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks