• hi
    thanks for good plugin.
    I want to know the relationships between the tables of these plugins together and with the main WordPress tables?
    What are the external keys?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author AntoineH

    (@antoineh)

    By default this plugin uses the prefix ‘pool_wp_’ for all tables. But you can change the prefix by adding the following line to your wp-config:

    define( 'FOOTBALLPOOL_DB_PREFIX', 'my_prefix_' );

    Or do you want to know the foreign key relations? Have to double check, but I think it is only user ID from the wp_users table that is referenced from my tables.

    Thread Starter erfani

    (@erfani)

    thanks a lot.
    i want to know the foreign key relations.
    both relatioship whith wordpress core and relatioship beetween internal tables plugin.
    I will be grateful get me this foreign key relations

    Thread Starter erfani

    (@erfani)

    i tried check foreign key in phpmyadmin but unfortunately dont show any foreign key.why?

    Plugin Author AntoineH

    (@antoineh)

    That’s because FK’s are not defined/enforced. There are only implicit relations.
    Don’t think WordPress uses real FK’s.

    Thread Starter erfani

    (@erfani)

    really!!!
    Football Pool plugin is also?
    i need relationship beetween Football Pool plugin.
    I will be grateful get me relationship beetween Football Pool plugin.

    Plugin Author AntoineH

    (@antoineh)

    What do you need it for? If I may ask.

    Thread Starter erfani

    (@erfani)

    I’m writing a mobile app and using wordpress as backend for app. and exchanging information with api. Now I want to use football app plugin in app and I need to define some fields as end point that can work with them.
    That’s I need the structure and the relationship between the tables.

    Plugin Author AntoineH

    (@antoineh)

    I created a diagram. It’s been ages since my DB classes, so not 100% sure if I got it right. This is the best you can get from me 😉

    Thread Starter erfani

    (@erfani)

    thanks، You helped me a lot.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘database plugin’ is closed to new replies.